Commit e5d294df authored by Marek Kotewicz's avatar Marek Kotewicz

return null instead of undefined, if not provider is set

parent d0b6f366
...@@ -739,7 +739,7 @@ ProviderManager.prototype.send = function(data) { ...@@ -739,7 +739,7 @@ ProviderManager.prototype.send = function(data) {
if (this.provider === undefined) { if (this.provider === undefined) {
console.error('provider is not set'); console.error('provider is not set');
return undefined; return null;
} }
//TODO: handle error here? //TODO: handle error here?
......
This diff is collapsed.
This diff is collapsed.
...@@ -70,7 +70,7 @@ ProviderManager.prototype.send = function(data) { ...@@ -70,7 +70,7 @@ ProviderManager.prototype.send = function(data) {
if (this.provider === undefined) { if (this.provider === undefined) {
console.error('provider is not set'); console.error('provider is not set');
return undefined; return null;
} }
//TODO: handle error here? //TODO: handle error here?
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment