load default config when config exists but is empty
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user