Updated this to say just that it is an exceptional situation as not all exceptions thrown are errors, they are just exceptional situations (ie, not the success path).

This commit is contained in:
apathy
2016-07-26 20:00:37 -07:00
parent 161b9562e4
commit 4cc237fe31
+1 -1
View File
@@ -53,7 +53,7 @@ private:
HandlerT(this, request, response);
} catch (const ChatResultException& e) {
response.result = e.code;
LOG(ERROR) << "ChatAPI Error: [" << ToString(e.code) << "] " << e.message;
LOG(ERROR) << "ChatAPI Result Exception: [" << ToString(e.code) << "] " << e.message;
} catch (const SQLite3Exception& e) {
response.result = ChatResultCode::DATABASE;
LOG(ERROR) << "Database Error: [" << e.code << "] " << e.message;