jj: Fix a million Error messages on failed db connection

This commit is contained in:
Jonathan Jenne
2018-05-04 14:04:34 +02:00
parent 6b2495a2d6
commit e3dd905c69
2 changed files with 14 additions and 42 deletions

View File

@@ -36,7 +36,8 @@ Public Class ClassInit
If dbResult = False Then
ERROR_STATE = "FAILED DBCONNECTION"
MsgBox("Error in init database. (Connection failed) More information in the logfile.", MsgBoxStyle.Critical)
' Fehler wird in frmSplash abgehandelt
'MsgBox("Error in init database. (Connection failed) More information in the logfile.", MsgBoxStyle.Critical)
Return False
Else
Return True
@@ -54,9 +55,6 @@ Public Class ClassInit
Throw New Exception("Unexpected error while initializing basic-settings. More info in the log.")
End If
End If
End Sub
Public Sub Init_Folderwatch()
Try