Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
5.13
-
729b1ceb8904a857ba4c804e8a58b9ef4ef7b193
Description
The code below should throw an exception, but it doesn't: it's handled by the catch block (!!).
function weird(func) { try { func(); } catch (thrown) { print("oops:", thrown) return; } print("the next exception should not be handled, but exit the function....") throw("xxx") }; weird(function(){})
Attachments
Issue Links
- is duplicated by
-
QTBUG-73320 Some strange try catch escalation
- Closed