When I do a login with connection.Connect(), but wrong login credentials, the method throws an error.
Because of the logic in my program, this exception gets logged, but the program goes on to the next job.
The result of my method is based on the connection.IsConnected fields.
Although the error was thrown, the IsConnected field == true;
Is this by design?