mirror of
https://github.com/huderlem/porymap.git
synced 2026-09-10 09:55:41 -05:00
Restore error interrupted silencing
This commit is contained in:
@@ -119,8 +119,8 @@ bool Scripting::tryErrorJS(QJSValue js) {
|
||||
// The script engine is interrupted during project reopen, during which
|
||||
// all script modules intentionally return as error objects.
|
||||
// We don't need to report these "errors" to the user.
|
||||
//if (errStr == "Error: Interrupted")
|
||||
// return false;
|
||||
if (errStr == "Error: Interrupted")
|
||||
return false;
|
||||
|
||||
// Convert properties to message strings
|
||||
QString fileErrStr = fileName == "undefined" ? "" : QString(" '%1'").arg(fileName);
|
||||
|
||||
Reference in New Issue
Block a user