Skip to content

Commit

Permalink
Clearer error message
Browse files Browse the repository at this point in the history
  • Loading branch information
bergie committed Sep 3, 2020
1 parent 700fdb1 commit f731e9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/protocol/Graph.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ class GraphProtocol extends EventEmitter {
return null;
}
if (!this.graphs[payload.graph]) {
this.send('error', new Error('Requested graph not found'), context);
this.send('error', new Error(`Requested graph "${payload.graph}" not found`), context);
return null;
}
return this.graphs[payload.graph];
Expand Down

0 comments on commit f731e9e

Please sign in to comment.