From b9fba1e5a5d1f0640461f306fddacb1a7fd0a769 Mon Sep 17 00:00:00 2001 From: Ashley Date: Tue, 15 Nov 2022 17:45:01 +0100 Subject: [PATCH] catch errors :^ --- src/libpoketube/init/superinit.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libpoketube/init/superinit.js b/src/libpoketube/init/superinit.js index 1f9fcd90..b417d412 100644 --- a/src/libpoketube/init/superinit.js +++ b/src/libpoketube/init/superinit.js @@ -40,8 +40,8 @@ function init(app, config, rendertemplate) { initlog("[OK] Load pages"); initlog("Loaded pages - initing poketube finnished :3"); - } catch { - initlog("[FAILED] Load pages"); + } catch (err) { + initlog("[FAILED] Load pages \n" + err); } }