use sentry when DSN exists; otherwise boot freezes