Use arguments on one log

You can use arguments on console log and you can access the error like normal
This commit is contained in:
Hans5958 2022-04-09 12:04:32 +07:00
parent f6b89ac7c1
commit 331e7bdb5a

View file

@ -161,7 +161,7 @@ async function init(){
//TEMP FOR TIME TRAVEL //TEMP FOR TIME TRAVEL
atlasBackup = atlas; atlasBackup = atlas;
} catch (error) { } catch (error) {
console.log("Diff mode failed to load, reverting to normal view - " + error); console.warn("Diff mode failed to load, reverting to normal view.", error);
} finally { } finally {
if(initOverlap && mode.includes("overlap")){ if(initOverlap && mode.includes("overlap")){
initOverlap(); initOverlap();