electron-push-receiver
electron-push-receiver copied to clipboard
Throw errors
@MatthieuLemoine I made this change so that we can opt-in to throwing errors. We catch these and send them to bugsnag, so it should help with catching any edge cases in the gcm code.
Can't we use NOTIFICATION_SERVICE_ERROR for this ?
I did that at first, but realized I actually wanted the errors in the main process, since that's where I have bugsnag set to catch them. I'm happy for this not to be merged into the main project, as it's kind of an odd use case, and I'm mostly doing it to help flush out any bugs with the changes to push-receiver.
FWIW we're rolling the push-receiver changes, so it'll start getting some production testing :)