use Logging Module EVERYWHERE, fix some MarvMan bugs
This commit is contained in:
@@ -47,13 +47,14 @@ Public Class ClassFormFunctions
|
||||
'Data Source=MyOracleDB;User Id=myUsername;Password=myPassword;Integrated Security=no;
|
||||
|
||||
Case Else
|
||||
ClassLogger.Add(" - ConnectionType not integrated", False)
|
||||
LOGGER.Info(" - ConnectionType not integrated")
|
||||
MsgBox("ConnectionType not integrated", MsgBoxStyle.Critical, "Please check connection:")
|
||||
End Select
|
||||
End If
|
||||
|
||||
Catch ex As Exception
|
||||
ClassLogger.Add(" - Unexpected Error in GetConnectionString:" & vbNewLine & ex.Message)
|
||||
LOGGER.Info(" - Unexpected Error in GetConnectionString:" & vbNewLine & ex.Message)
|
||||
LOGGER.Error(ex.message)
|
||||
MsgBox(ex.Message, MsgBoxStyle.Critical, "Error in GetConnectionString:")
|
||||
|
||||
End Try
|
||||
|
||||
Reference in New Issue
Block a user