ToothlessGear / node-gcm

A NodeJS wrapper library port to send data to Android devices via Google Cloud Messaging
https://github.com/ToothlessGear/node-gcm
Other
1.3k stars 208 forks source link

Handle all HTTP errors #378

Closed silentjohnny closed 8 months ago

silentjohnny commented 8 months ago

When an HTTP error occurs, e.g., a 400, node-gcm should respond with the status of the error

Right now, only 401 and 500 are handled, but other HTTP errors should be handled too.