From 68a09934a1f38c0d0ea3fabc64a5390894d931fa Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Tue, 27 May 2025 19:39:39 -0300 Subject: eslint: make use of optional catch binding more often --- src/data/yaml.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/data/yaml.js') diff --git a/src/data/yaml.js b/src/data/yaml.js index e8d24353..9a0295b8 100644 --- a/src/data/yaml.js +++ b/src/data/yaml.js @@ -1022,7 +1022,7 @@ export const documentModes = { export function getAllDataSteps() { try { thingConstructors; - } catch (error) { + } catch { throw new Error(`Thing constructors aren't ready yet, can't get all data steps`); } -- cgit 1.3.0-6-gf8a5