Change error string.

This commit is contained in:
Michael Teeuw
2021-02-23 14:11:54 +01:00
committed by GitHub
parent 13010ecaee
commit b2a21b937d

View File

@@ -296,7 +296,7 @@ var MM = (function () {
if (module.lockStrings.length !== 0 && options.force !== true) {
Log.log("Will not show " + module.name + ". LockStrings active: " + module.lockStrings.join(","));
if (typeof options.onError === "function") {
options.onError(new Error("ERR_ACTIVE_LOCK_STRINGS"));
options.onError(new Error("LOCK_STRING_ACTIVE"));
}
return;
}