fix:修改奇遇本逻辑
This commit is contained in:
+1
-1
@@ -131,7 +131,7 @@ export function globalErrorHandler(err: Error, msg: any, resp: any,
|
||||
}
|
||||
|
||||
// app configure
|
||||
app.configure('production|development', function () {
|
||||
app.configure('production|development|local', function () {
|
||||
app.set(RESERVED.ERROR_HANDLER, errorHandler);
|
||||
app.set(RESERVED.GLOBAL_ERROR_HANDLER, globalErrorHandler);
|
||||
app.globalAfter((err: Error, routeRecord: RouteRecord, msg: any, session: FrontendOrBackendSession, resp: any, cb: HandlerCallback) => {
|
||||
|
||||
Reference in New Issue
Block a user