Skip to content

Commit

Permalink
Use binaryType instead of runtime for pre-throttling (#28346)
Browse files Browse the repository at this point in the history
  • Loading branch information
rcebulko committed May 12, 2020
1 parent 3f9f68f commit 6c6c63c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/error.js
Expand Up @@ -640,7 +640,7 @@ export function getErrorReportData(

// TODO(https://github.com/ampproject/error-tracker/issues/129): Remove once
// all clients are serving a version with pre-throttling.
if (data['rt'] === 'production') {
if (data['bt'] === 'production') {
// Setting this field allows the error reporting service to know that this
// error has already been pre-throttled for Stable, so it doesn't need to
// throttle again.
Expand Down

0 comments on commit 6c6c63c

Please sign in to comment.