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