joshdholtz / Sentry-Android

[Deprecated] Use official "raven-java" library
https://github.com/getsentry/sentry-java
MIT License
180 stars 48 forks source link

Validate SENTRY-DSN #50

Open moyvera opened 8 years ago

moyvera commented 8 years ago

Good work doing this wrapper, congrats!

I think you should add a function to validate the structure of the SENTRY-DSN (before init()), because if it is bad formed, "Sentry.init" is throwing and exception but you really don't know the context of that exception.

Kind regards!