移除无用日志

This commit is contained in:
whyour
2022-06-08 11:12:15 +08:00
parent ac32117e78
commit c4a4764762
11 changed files with 23 additions and 77 deletions
-3
View File
@@ -25,7 +25,6 @@ export default (app: Router) => {
}),
});
} catch (e) {
logger.error('🔥 error: %o', e);
return next(e);
}
},
@@ -51,7 +50,6 @@ export default (app: Router) => {
}
res.send({ code: 200, data: content });
} catch (e) {
logger.error('🔥 error: %o', e);
return next(e);
}
},
@@ -76,7 +74,6 @@ export default (app: Router) => {
fs.writeFileSync(path, content);
res.send({ code: 200, message: '保存成功' });
} catch (e) {
logger.error('🔥 error: %o', e);
return next(e);
}
},