breaking up logic for canvas syncronization

This commit is contained in:
2023-08-01 23:22:38 -06:00
parent 98b6efc19b
commit 0097521c75
5 changed files with 200 additions and 189 deletions

View File

@@ -89,17 +89,17 @@ public class WebRequestor : IWebRequestor
}
return data;
}
catch (System.NotSupportedException exception)
catch (System.NotSupportedException )
{
Console.WriteLine(response.Content);
throw exception;
throw;
}
catch (JsonException ex)
catch (JsonException)
{
System.Console.WriteLine(response.ResponseUri);
System.Console.WriteLine(response.Content);
Console.WriteLine($"An error occurred during deserialization: {ex.Message}");
throw ex;
Console.WriteLine($"An error occurred during deserialization");
throw;
}
}
}