GUIs.ClipboardWatcher: Add error logging

This commit is contained in:
Jonathan Jenne 2021-10-08 15:44:49 +02:00
parent 05dabce908
commit 7955e9d13e

View File

@ -43,10 +43,11 @@ Public Class ProfileSearches
End If
Catch ex As Exception
_Logger.Warn($"Could not initialize the AppServer: {ex.Message}")
_Logger.Error(ex)
End Try
End If
Catch ex As Exception
_Logger.Error(ex)
End Try
End Sub
@ -94,13 +95,13 @@ Public Class ProfileSearches
End If
oDocSearches.Add(New Search() With {
.Guid = oGuid,
.DataTable = oDatatable,
.ProfileId = oProfileId,
.TabCaption = oTabTitle,
.TabIndex = oCounter,
.SQLCommand = oSQL
})
.Guid = oGuid,
.DataTable = oDatatable,
.ProfileId = oProfileId,
.TabCaption = oTabTitle,
.TabIndex = oCounter,
.SQLCommand = oSQL
})
oCounter += 1
Next