mirror of
https://codeberg.org/ashley/poke
synced 2025-04-06 01:27: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: "",
|
summary: "",
|
||||||
});
|
});
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.error(`Error while searching for '${query}':`, error);
|
console.log(`Error while searching for '${query}':`, error);
|
||||||
res.redirect("/");
|
res.redirect("/");
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user