Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuy-node
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
1
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
陈峰
2018-03-09 16:31:07 +0800
Commit
65c24d895c07fa365bb4d3138955fdd622076135
1 parent
64be81c5
remove captureerr
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
3 deletions
doraemon/middleware/error-handler.js
doraemon/middleware/error-handler.js
View file @
65c24d8
...
...
@@ -52,9 +52,6 @@ exports.notFound = () => {
*/
exports
.
serverError
=
()
=>
{
return
async
(
err
,
req
,
res
,
next
)
=>
{
if
(
req
.
isCapturedError
)
{
return
;
}
forceNoCache
(
res
);
const
uid
=
req
.
user
?
req
.
user
.
uid
:
0
;
...
...
Please
register
or
login
to post a comment