We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 51fab6b commit fb08b0eCopy full SHA for fb08b0e
source/upload.cpp
@@ -74,7 +74,9 @@ namespace web {
74
75
if (res != CURLE_OK) {
76
urlresponse = "curl failed";
77
- } else if (urlresponse.size() > 0x50) {
+ } else if (http_code != 200) {
78
+ urlresponse = "failed with " + std::to_string(http_code);
79
+ } else if (urlresponse.size() > 0x30) {
80
urlresponse = "result too long";
81
}
82
0 commit comments