mirror of
https://github.com/tdlight-team/tdlight-telegram-bot-api.git
synced 2025-01-11 12:05:48 +01:00
Add Internal Server Error logging.
This commit is contained in:
parent
418946b0e1
commit
93158f05a7
@ -126,6 +126,7 @@ void Client::fail_query_with_error(PromisedQueryPtr query, int32 error_code, Sli
|
|||||||
break;
|
break;
|
||||||
case 500:
|
case 500:
|
||||||
prefix = Slice("Internal Server Error");
|
prefix = Slice("Internal Server Error");
|
||||||
|
LOG(ERROR) << "Receive Internal Server Error: " << real_error_message;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
LOG(ERROR) << "Unsupported error " << real_error_code << ": " << real_error_message;
|
LOG(ERROR) << "Unsupported error " << real_error_code << ": " << real_error_message;
|
||||||
|
Loading…
Reference in New Issue
Block a user