Skip to content

Commit

Permalink
Remove error message modification (#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
vartanbeno committed May 28, 2019
1 parent 944638f commit 8ae3fd9
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/Client.js
Expand Up @@ -149,9 +149,7 @@ export class Client {
err = caught;
}

err.message = [
'JSON-IPC Client Exception:',
err.message || 'unable to call remote method'].join(':');
err.message = err.message || 'unable to call remote method';
err.path = self.path;

// ensure the socket is closed
Expand Down

0 comments on commit 8ae3fd9

Please sign in to comment.