]> khamidou — GitHub mirrors - electron.git/commitdiff
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 c7297888cb560e24f75607102305b52d57a76925..9d20ba4c7a2bd206e2b7bf460d5afc1c69b0e7ea 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 "