release 118 and some changes to 119 around auth / tls and properly display message on fail to test connect
This commit is contained in:
@@ -88,7 +88,7 @@ namespace AyaNova.PlugIn.V8
|
||||
// client.Timeout = tsDefault;
|
||||
if (response.IsSuccessStatusCode)
|
||||
{
|
||||
|
||||
|
||||
return "OK";
|
||||
}
|
||||
else
|
||||
@@ -96,7 +96,12 @@ namespace AyaNova.PlugIn.V8
|
||||
return "Failed: " + response.StatusCode.ToString();
|
||||
}
|
||||
}
|
||||
catch { return "Failed"; }
|
||||
catch (Exception ex)
|
||||
{
|
||||
while (ex.InnerException != null)
|
||||
ex = ex.InnerException;
|
||||
return "Failed exception: \n" + ex.Message;
|
||||
}
|
||||
|
||||
|
||||
// return "failed";
|
||||
|
||||
Reference in New Issue
Block a user