I'm looking to initialize an error reporting service (Sentry) for my custom module when the application launches. I've tried using events and observers, but most of them get called so regularly that it seems like a waste of CPU / network.

Is there a preferred place (as a custom module) to run initialization code?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.