From 4cc237fe31895b3c8b6f1905ee77c0511c920058 Mon Sep 17 00:00:00 2001 From: apathy Date: Tue, 19 Jul 2016 06:16:02 -0700 Subject: [PATCH] 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). --- src/GatewayClient.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/GatewayClient.hpp b/src/GatewayClient.hpp index b65c5b0..fb50ffb 100644 --- a/src/GatewayClient.hpp +++ b/src/GatewayClient.hpp @@ -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;