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
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