From 149257b04ac2a3bc259de972e29bb0787e129f3e Mon Sep 17 00:00:00 2001 From: Arthur de Jong <arthur@arthurdejong.org> Date: Wed, 5 Feb 2025 16:21:32 +0100 Subject: Upgrade to ESLint 9 --- src/munin-plot.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/munin-plot.js b/src/munin-plot.js index 4fc19b8..2fc0576 100644 --- a/src/munin-plot.js +++ b/src/munin-plot.js @@ -932,7 +932,9 @@ $(document).ready(function () { // restore previous list of graphs try { setGraphs(JSON.parse(localStorage.getItem('shownGraphs'))) - } catch (error) {} + } catch (error) { + // ignore errors + } } }) -- cgit v1.2.3