Skip to content

Commit 81a7d08

Browse files
matthewwithanmgaearon
authored andcommitted
Include name in unknown call warning (facebook#365)
This just makes it a little easier to debug.
1 parent 020efe8 commit 81a7d08

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

agent/Bridge.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ class Bridge {
331331

332332
_handleCall(name: string, args: Array<any>, callback: number) {
333333
if (!this._callers[name]) {
334-
return console.warn('unknown call');
334+
return console.warn('unknown call: "' + name + '"');
335335
}
336336
args = !Array.isArray(args) ? [args] : args;
337337
var result;

0 commit comments

Comments
 (0)