mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-10 09:38:25 +01:00
catch errors :^
This commit is contained in:
parent
7b70ecf662
commit
b9fba1e5a5
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue