ileitch / rapns

MOVED TO https://github.com/rpush/rpush
MIT License
289 stars 92 forks source link

NoMethodError raised when GCM post responds with 500 #186

Closed jakeonfire closed 10 years ago

jakeonfire commented 10 years ago

When attempting to resend a notification after a 500 response, the Gcm::Delivery#internal_server_error method attempts to log the retry_message before the notification is updated with the new deliver_after date (when in batch mode), resulting in: [ERROR] NoMethodError, undefined method `strftime' for nil:NilClass