mirror of
https://github.com/google/blockly.git
synced 2025-12-16 06:10:12 +01:00
refactor: Omit unused exception arguments from catch blocks (#8559)
Fixes #1770.
This commit is contained in:
committed by
GitHub
parent
724828f689
commit
2409123d66
@@ -6,6 +6,6 @@ var msg = 'Compiled Blockly files should be loaded from https://unpkg.com/blockl
|
||||
console.log(msg);
|
||||
try {
|
||||
alert(msg);
|
||||
} catch (_e) {
|
||||
} catch {
|
||||
// Can't alert? Probably node.js.
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user