Skip to content

Commit

Permalink
Take suggested log changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam Zionts committed Jul 15, 2019
1 parent f88b497 commit 303d690
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/apollo-engine-reporting/src/treeBuilder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,10 +101,10 @@ export class EngineReportingTreeBuilder {
error: Trace.Error,
) {
if (!this.startHrTime) {
throw Error('addError called before startTiming!');
throw Error('addProtobufError called before startTiming!');
}
if (this.stopped) {
throw Error('addError called after stopTiming!');
throw Error('addProtobufError called after stopTiming!');
}

// By default, put errors on the root node.
Expand Down

0 comments on commit 303d690

Please sign in to comment.