From a96a08d2271daf8bcddb8a51112d8331dde4dad1 Mon Sep 17 00:00:00 2001 From: Philip Manavopoulos Date: Sun, 27 Jan 2019 12:36:22 +0000 Subject: [PATCH] Better errors in dialog Fixes #11 --- Classes/Doorbell.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Classes/Doorbell.m b/Classes/Doorbell.m index bc61387..ff82d64 100755 --- a/Classes/Doorbell.m +++ b/Classes/Doorbell.m @@ -269,7 +269,7 @@ - (void)sendUploadRequest:(NSMutableURLRequest *)request WithData:(NSData *)data } else if (error != nil) { - [self generalError:[[NSString alloc] initWithFormat:@"Error, please try again (%@)", error] ]; + [self generalError:[[NSString alloc] initWithFormat:@"Error, please try again (%@)", error.localizedDescription] ]; } }); }];