Check for dsn config presence

This PR allows disabling reporting errors in development mode. Let me know if you guys have a suggestion on how to do this differently.