| Index: lib/messaging.js | 
| diff --git a/lib/messaging.js b/lib/messaging.js | 
| index fb57704cf345de3590223bdf0ff9a3e9620ce585..367a081c92e37419ed1f6bfef0761101c2d4fc45 100644 | 
| --- a/lib/messaging.js | 
| +++ b/lib/messaging.js | 
| @@ -31,7 +31,7 @@ function Port() | 
| this._eventEmitter = new EventEmitter(); | 
| this._onMessage = this._onMessage.bind(this); | 
| ext.onMessage.addListener(this._onMessage); | 
| -}; | 
| +} | 
|  | 
| Port.prototype = { | 
| _onMessage(message, sender, sendResponse) | 
| @@ -47,7 +47,8 @@ Port.prototype = { | 
| { | 
| response.then( | 
| sendResponse, | 
| -          reason => { | 
| +          reason => | 
| +          { | 
| console.error(reason); | 
| sendResponse(undefined); | 
| } | 
|  |