Skip to content

Commit b98d6b1

Browse files
committed
MCU8MASS-1842 Add note about libcurl's error codes
1 parent 74c1501 commit b98d6b1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/http_client.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,9 @@ static HttpResponse waitForResponse(const uint32_t timeout_ms) {
149149
if (got_shutdown_callback) {
150150
if (shutdown_error_code != 0) {
151151
Log.errorf(
152-
F("HTTP request failed with cURL error code: %d\r\n"),
152+
F("HTTP request failed with curl error code: %d. "
153+
"Please refer to libcurl's error codes for more "
154+
"information.\r\n"),
153155
shutdown_error_code);
154156
}
155157

0 commit comments

Comments
 (0)