diff --git a/AUTHORS b/AUTHORS index c96aaa3..25a1a52 100644 --- a/AUTHORS +++ b/AUTHORS @@ -8,4 +8,5 @@ Arthur Darcet- https://github.com/arthurdarcet lesterkp - https://github.com/lesterkp Christoph Lupprich - https://github.com/clupprich Dmitry Vorobyov - https://github.com/dvor -Mark Anderson - https://github.com/manderson-productions \ No newline at end of file +Mark Anderson - https://github.com/manderson-productions +Marc Doering - https://github.com/triskybro \ No newline at end of file diff --git a/Raven/RavenConfig.m b/Raven/RavenConfig.m index 285ac05..1cc5259 100644 --- a/Raven/RavenConfig.m +++ b/Raven/RavenConfig.m @@ -48,6 +48,10 @@ - (BOOL)setDSN:(NSString *)DSN { self.publicKey = [DSNURL user]; self.secretKey = [DSNURL password]; + if (!self.serverURL || !self.publicKey || !self.secretKey) { + return NO; + } + return YES; }