geeknam / python-gcm

Python client for Google Cloud Messaging for Android (GCM)
MIT License
458 stars 145 forks source link

GCM should handle requests exceptions #107

Open ziima opened 8 years ago

ziima commented 8 years ago

GCM should catch exceptions coming from requests and reraise an exception derived from GCMException, probably GCMConnectionException. It would facilitate usage of GCM. I was a bit surprised when the exceptions from requests started to show up, even though I've handled GCMException.