mirror of
https://github.com/aljazceru/landscape-template.git
synced 2026-01-28 02:34:42 +01:00
update: log unexpected errors in login api & post story api
This commit is contained in:
9
api/utils/logger.js
Normal file
9
api/utils/logger.js
Normal file
@@ -0,0 +1,9 @@
|
||||
|
||||
function logError(error) {
|
||||
console.log("Unexpected Error: ");
|
||||
console.log(error);
|
||||
}
|
||||
|
||||
module.exports = {
|
||||
logError
|
||||
}
|
||||
Reference in New Issue
Block a user