mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-15 05:28:43 +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