From 5fd34247646041b513cefeb585a5412b83b71db4 Mon Sep 17 00:00:00 2001 From: thyttan <97237430+thyttan@users.noreply.github.com> Date: Tue, 27 Dec 2022 20:16:58 +0100 Subject: [PATCH] shorten the error variable --- modules/clock_info.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/clock_info.js b/modules/clock_info.js index 95bad541c..4d4aba622 100644 --- a/modules/clock_info.js +++ b/modules/clock_info.js @@ -77,8 +77,8 @@ exports.load = function() { alt = Math.round(data.altitude) + "m"; bangleItems[3].emit("redraw"); }); - } catch (error) { - print("Caught "+error+"\n in function altUpdateHandler in module clock_info"); + } catch (e) { + print("Caught "+e+"\n in function altUpdateHandler in module clock_info"); bangleItems[3].emit('redraw');} } // actual menu