Small changes

This commit is contained in:
Natsumi
2025-11-17 20:17:44 +11:00
parent fd73bdae90
commit fdeb8fa38f
3 changed files with 5 additions and 5 deletions

View File

@@ -524,7 +524,7 @@ namespace VRCX
}
var message = webException.Message;
if (webException.InnerException != null)
if (webException.InnerException != null && webException.InnerException != webException)
message += $" | Inner Exception: {webException.InnerException}";
return new Tuple<int, string>(
-1,
@@ -534,7 +534,7 @@ namespace VRCX
catch (Exception e)
{
var message = e.Message;
if (e.InnerException != null)
if (e.InnerException != null && e.InnerException != e)
message += $" | Inner Exception: {e.InnerException}";
return new Tuple<int, string>(
-1,