修复scripts独立造成shell样式丢失

This commit is contained in:
whyour committed 2021-03-29 22:42:46 +08:00
1 parent 9f54a15ab8
commit f0f738f8a2
2 files changed
+2 -3

No files matched your search

+1 -3
View File
@@ -64,9 +64,7 @@ export default ({ app }: { app: Application }) => {
) => {
res.status(err.status || 500);
res.json({
errors: {
message: err.message,
},
message: err.message,
});
},
);