aboutsummaryrefslogtreecommitdiff
path: root/src/tools/linux/symupload/sym_upload.cc
diff options
context:
space:
mode:
authorted.mielczarek <ted.mielczarek@4c0a9323-5329-0410-9bdc-e9ce6186880e>2007-11-20 02:21:49 +0000
committerted.mielczarek <ted.mielczarek@4c0a9323-5329-0410-9bdc-e9ce6186880e>2007-11-20 02:21:49 +0000
commitf0a07749af99d249ed1f0dba151bb9d81e885e11 (patch)
tree1a81b725bd00baee2ce2b2d33078cb055a7eb1d2 /src/tools/linux/symupload/sym_upload.cc
parentAdd MD_CPU_ARCHITECTURE_AMD64 as valid system type when cpu type is MD_CONTEX... (diff)
downloadbreakpad-f0a07749af99d249ed1f0dba151bb9d81e885e11.tar.xz
Fix compile bustage from issue 221
git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@231 4c0a9323-5329-0410-9bdc-e9ce6186880e
Diffstat (limited to 'src/tools/linux/symupload/sym_upload.cc')
-rw-r--r--src/tools/linux/symupload/sym_upload.cc7
1 files changed, 4 insertions, 3 deletions
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());
}