Closed bodrovis closed 2 years ago
As a temporary solution, I've added a before_action
for the Griddler::EmailsController
:
def register_service!
Griddler.adapter_registry.register(:sparkpost, Griddler::Sparkpost::Adapter)
Griddler.configuration.email_service = :sparkpost
end
It works. Seems like the adapter becomes unregistered for some reason.
Hello. I am using Griddler with Rails 5 (on Heroku) and a quite strange happens to me: when the first e-mail arrives, everything is okay and it gets processed. But processing all subsequent e-mails fails with
Griddler::Errors::EmailServiceAdapterNotFound
. From the logs I am able to see the arrived e-mail. The stack trace is displayed below.Gemfile:
Initializer:
Stack trace: