mirror of
https://codeberg.org/ashley/poke
synced 2025-04-05 00:57:59 +00:00
log it
This commit is contained in:
parent
2941fa7b86
commit
75d05d3c85
@ -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 New Issue
Block a user