From f1adb0b4d8e2ae142e2f15459e8a85ddc1590056 Mon Sep 17 00:00:00 2001 From: Devon Carew Date: Wed, 20 Nov 2019 05:19:08 +0000 Subject: [PATCH] [analyzer] use the staging url for crash reports Change-Id: I0e706fadac4709a723165beea3446f578c4abd63 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/125682 Reviewed-by: Mike Fairhurst Commit-Queue: Devon Carew --- pkg/telemetry/lib/crash_reporting.dart | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkg/telemetry/lib/crash_reporting.dart b/pkg/telemetry/lib/crash_reporting.dart index 415950ce298..285e5ac9bd0 100644 --- a/pkg/telemetry/lib/crash_reporting.dart +++ b/pkg/telemetry/lib/crash_reporting.dart @@ -16,8 +16,9 @@ const String _dartTypeId = 'DartError'; /// Crash backend host. const String _crashServerHost = 'clients2.google.com'; +// This should be one of 'report' or 'staging_report'. /// Path to the crash servlet. -const String _crashEndpointPath = '/cr/report'; // or, 'staging_report' +const String _crashEndpointPath = '/cr/staging_report'; /// The field corresponding to the multipart/form-data file attachment where /// crash backend expects to find the Dart stack trace.