diff options
Diffstat (limited to 'lib/providermanager.js')
-rw-r--r-- | lib/providermanager.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/providermanager.js b/lib/providermanager.js index 83ea9417b..90e5ee409 100644 --- a/lib/providermanager.js +++ b/lib/providermanager.js @@ -63,7 +63,8 @@ ProviderManager.prototype.send = function(data) { this.id++; if (this.provider === undefined) { - console.error("provider is not set"); + console.error('provider is not set'); + return JSON.stringify({result: 'error, provider is not set'}); } return this.provider.send(data); |