Skip to content

Commit

Permalink
Improve error callback
Browse files Browse the repository at this point in the history
  • Loading branch information
steviki committed Apr 19, 2017
1 parent 27bf207 commit e31ec50
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -1007,7 +1007,7 @@ - (void)present:(CDVInvokedUrlCommand *)command {
}];
}
else {
[self.commandDelegate sendPluginResult:[CDVPluginResult resultWithStatus:CDVCommandStatus_OK]
[self.commandDelegate sendPluginResult:[CDVPluginResult resultWithStatus:CDVCommandStatus_ERROR]
callbackId:command.callbackId];
}
}
Expand Down

0 comments on commit e31ec50

Please sign in to comment.