instructure / canvas-lms

The open LMS by Instructure, Inc.
https://github.com/instructure/canvas-lms/wiki
GNU Affero General Public License v3.0
5.58k stars 2.48k forks source link

Correct mangled try/catch block #2136

Closed Loccy closed 1 year ago

Loccy commented 1 year ago

This mangled try/catch block (no exception object specified to catch) causes the embedded chat to fail to load (as well as cause a number of issues for those of us who jump on the coat-tails of its iframe-resizing code in instutional learning content!). The simplest of fixes is proposed. Also see issue 2131.

CLAassistant commented 1 year ago

CLA assistant check
All committers have signed the CLA.

maths22 commented 1 year ago

fixed in 4b37c2ce1bf4fb885db0e8e8646143a9d2d761d7