aboutsummaryrefslogtreecommitdiff
path: root/lib/events/redactionevent.cpp
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2018-05-23 16:39:25 +0900
committerKitsune Ral <Kitsune-Ral@users.sf.net>2018-05-23 16:42:40 +0900
commit73fec4b25d81b73f25309bfb3e274df7553341ea (patch)
treeffa03b0f82bfc092c4316192fd5e849a92a1193f /lib/events/redactionevent.cpp
parent79403a004129852af10f0a7d9b8dca0276724d28 (diff)
downloadlibquotient-73fec4b25d81b73f25309bfb3e274df7553341ea.tar.gz
libquotient-73fec4b25d81b73f25309bfb3e274df7553341ea.zip
BaseJob: more careful error handling; unify and extend error signals in Connection
(Note: this commit breaks back-compatibility.) BaseJob::gotReply() had a bold assumption that whenever there's no reasonable JSON body in case of error, that meant IncorrectRequestError (which of course was incorrect). This led to syncs dying in Quaternion because it (correctly) considered IncorrectRequestError to be grave enough to not retry. Closes #206. Also: don't dump the whole payload to logs, limit with initial 500 characters (closes #205)
Diffstat (limited to 'lib/events/redactionevent.cpp')
0 files changed, 0 insertions, 0 deletions