load default config when config exists but is empty

This commit is contained in:
Jonathan Jenne
2019-02-22 11:41:05 +01:00
parent 39c118308d
commit 19bc39c0ce
4 changed files with 16 additions and 2 deletions

View File

@@ -10,6 +10,7 @@ Public Class ClassService
Public Enum ConnectionTestResult
Successful
NotFound
EmptyURI
Unknown
End Enum
@@ -57,6 +58,9 @@ Public Class ClassService
Catch ex As EndpointNotFoundException
_Logger.Error(ex)
Return ConnectionTestResult.NotFound
Catch ex As UriFormatException
_Logger.Error(ex)
Return ConnectionTestResult.EmptyURI
Catch ex As Exception
_Logger.Error(ex)
Return ConnectionTestResult.Unknown