Update 0BDFDB.plugin.js

This commit is contained in:
Mirco Wittrien 2024-12-29 17:25:24 +01:00
parent c4b108fb17
commit c0e6863c3c
1 changed files with 1 additions and 1 deletions

View File

@ -302,7 +302,7 @@ module.exports = (_ => {
};
BDFDB.TimeUtils.suppress = function (callback, strings, config) {return function (...args) {
try {return callback(...args);}
catch (err) {!config.ignoreErrors && BDFDB.LogUtils.error([strings, err], config);}
catch (err) {(!config || !config.ignoreErrors) && BDFDB.LogUtils.error([strings, err], config);}
}};
BDFDB.LogUtils.log("Loading Library");