linux: Be quiet when uploading crash report.
authorCheng Zhao <zcbenz@gmail.com>
Wed, 7 May 2014 01:05:00 +0000 (09:05 +0800)
committerCheng Zhao <zcbenz@gmail.com>
Wed, 7 May 2014 01:05:00 +0000 (09:05 +0800)
atom/common/crash_reporter/linux/crash_dump_handler.cc

index c729788..9d20ba4 100644 (file)
@@ -347,10 +347,9 @@ void ExecUploadProcessOrTerminate(const BreakpadInfo& info,
     post_file,
     // TODO(zcbenz): Enabling custom upload url.
     info.upload_url,
-    "--timeout=10",  // Set a timeout so we don't hang forever.
+    "--timeout=60",  // Set a timeout so we don't hang forever.
     "--tries=1",     // Don't retry if the upload fails.
-    "-O",  // output reply to fd 3
-    "/dev/fd/3",
+    "--quiet",       // Be silent.
     NULL,
   };
   static const char msg[] = "Cannot upload crash dump: cannot exec "