mirror of
https://github.com/alexmickelson/canvasManagement.git
synced 2026-03-26 15:48:32 -06:00
peace nirvana and no yellow warning lines in my console
This commit is contained in:
@@ -64,8 +64,8 @@ public class CanvasService
|
||||
|
||||
if (data == null)
|
||||
{
|
||||
logger.Error(response.Content);
|
||||
logger.Error(response.ResponseUri?.ToString());
|
||||
logger.Error(response?.Content ?? "");
|
||||
logger.Error(response?.ResponseUri?.ToString() ?? "");
|
||||
throw new Exception("error getting course from canvas");
|
||||
}
|
||||
return data;
|
||||
|
||||
Reference in New Issue
Block a user