mirror of
https://github.com/SWG-Source/stationapi.git
synced 2026-07-13 21:01:03 -04:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user