mirror of
https://github.com/alexmickelson/canvasManagement.git
synced 2026-03-26 07:38:33 -06:00
breaking up logic for canvas syncronization
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user