jj: better logging for folderwatch

This commit is contained in:
Jonathan Jenne
2018-06-27 15:04:57 +02:00
parent 83c3f9d7c2
commit bf43248270
2 changed files with 74 additions and 59 deletions

View File

@@ -75,6 +75,8 @@ Public Class ClassInit
End If
End If
Else
ClassLogger.Add("Init_Folderwatch: folderwatch path is nothing!", True)
End If
If Not folderwatch_SCAN Is Nothing Then
CURRENT_SCAN_FOLDERWATCH = folderwatch_SCAN
@@ -82,6 +84,8 @@ Public Class ClassInit
FW_ISSTARTED = True
ClassFolderWatcher.StartStop_FolderWatchSCAN()
End If
Else
ClassLogger.Add("Init_Folderwatch: folderwatch_SCAN path is nothing!", True)
End If
Catch ex As Exception
ClassLogger.Add("Unexpected Error in Init_Folderwatch: " & ex.Message, True)