tl-its-umich-edu / canvas

Integration scripts between ITS TL and Instructure Canvas
Other
3 stars 8 forks source link

reduce log level from ERROR to WARN for empty API return #120

Closed zqian closed 2 years ago

zqian commented 2 years ago

There are reported log errors with format

"Unable to parse JSON String for https://<canvas_server>/api/v1/accounts/<account_id>/courses?search_term=<search term>: []"

No need to report this as log error, instead use the warn level, since the log error will trigger alert email.