diff options
Diffstat (limited to 'src/tools')
-rw-r--r-- | src/tools/linux/symupload/minidump_upload.cc | 7 | ||||
-rw-r--r-- | src/tools/linux/symupload/sym_upload.cc | 7 |
2 files changed, 8 insertions, 6 deletions
diff --git a/src/tools/linux/symupload/minidump_upload.cc b/src/tools/linux/symupload/minidump_upload.cc index de9f7092..cab6ad43 100644 --- a/src/tools/linux/symupload/minidump_upload.cc +++ b/src/tools/linux/symupload/minidump_upload.cc @@ -59,19 +59,20 @@ static void Start(Options *options) { parameters["ver"] = options->version; // Send it - std::string response; + std::string response, error; bool success = HTTPUpload::SendRequest(options->uploadURLStr, parameters, options->minidumpPath, "upload_file_minidump", options->proxy, options->proxy_user_pwd, - &response); + &response, + &error); if (success) { printf("Successfully sent the minidump file.\n"); } else { - printf("Failed to send minidump\n"); + printf("Failed to send minidump: %s\n", error.c_str()); printf("Response:\n"); printf("%s\n", response.c_str()); } diff --git a/src/tools/linux/symupload/sym_upload.cc b/src/tools/linux/symupload/sym_upload.cc index 88fe7168..4e4da065 100644 --- a/src/tools/linux/symupload/sym_upload.cc +++ b/src/tools/linux/symupload/sym_upload.cc @@ -137,19 +137,20 @@ static void Start(Options *options) { parameters["debug_file"] = module_parts[4]; parameters["code_file"] = module_parts[4]; parameters["debug_identifier"] = compacted_id; - std::string response; + std::string response, error; bool success = HTTPUpload::SendRequest(options->uploadURLStr, parameters, options->symbolsPath, "symbol_file", options->proxy, options->proxy_user_pwd, - &response); + &response, + &error); if (success) { printf("Successfully sent the symbol file.\n"); } else { - printf("Failed to send symbol file.\n"); + printf("Failed to send symbol file: %s\n", error.c_str()); printf("Response:\n"); printf("%s\n", response.c_str()); } |