moar checks
This commit is contained in:
parent
5d55aad04b
commit
632472e397
@ -136,15 +136,15 @@ Public Class EmailService
|
|||||||
|
|
||||||
Private Sub EmailQueue_DoWork(sender As Object, e As DoWorkEventArgs)
|
Private Sub EmailQueue_DoWork(sender As Object, e As DoWorkEventArgs)
|
||||||
Try
|
Try
|
||||||
If _Firebird._DBInitialized Then
|
If _Firebird?._DBInitialized Then
|
||||||
SendEmailFrom(DatabaseType.Firebird, Nothing)
|
SendEmailFrom(DatabaseType.Firebird, Nothing)
|
||||||
End If
|
End If
|
||||||
|
|
||||||
If _MSSQL.DBInitialized Then
|
If _MSSQL?.DBInitialized Then
|
||||||
SendEmailFrom(DatabaseType.MSSQL, _MSSQL)
|
SendEmailFrom(DatabaseType.MSSQL, _MSSQL)
|
||||||
End If
|
End If
|
||||||
|
|
||||||
If _MSSQL_Test.DBInitialized Then
|
If _MSSQL_Test?.DBInitialized Then
|
||||||
SendEmailFrom(DatabaseType.MSSQL, _MSSQL_Test)
|
SendEmailFrom(DatabaseType.MSSQL, _MSSQL_Test)
|
||||||
End If
|
End If
|
||||||
Catch ex As Exception
|
Catch ex As Exception
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user