mirror of
https://codeberg.org/ashley/poke.git
synced 2024-12-24 19:18:41 +01:00
log it
This commit is contained in:
parent
2941fa7b86
commit
75d05d3c85
1 changed files with 1 additions and 1 deletions
|
@ -174,7 +174,7 @@ module.exports = function (app, config, renderTemplate) {
|
|||
summary: "",
|
||||
});
|
||||
} catch (error) {
|
||||
console.error(`Error while searching for '${query}':`, error);
|
||||
console.log(`Error while searching for '${query}':`, error);
|
||||
res.redirect("/");
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue