diff --git a/Examples/OSX/InboxLister/MyController.m b/Examples/OSX/InboxLister/MyController.m index a2d26ba..21d13db 100644 --- a/Examples/OSX/InboxLister/MyController.m +++ b/Examples/OSX/InboxLister/MyController.m @@ -36,8 +36,8 @@ password:[password stringValue]]; if(![myAccount isConnected]) { - NSLog(@"NOT CONNECTED!"); - // return; + NSRunCriticalAlertPanel(@"Connection Error", @"Please check your connection details and try again.", @"OK", nil, nil); + return; } // NSLog(@"Folders %@", [myAccount allFolders]);