Skip to content

Commit

Permalink
chore(mwcp): remove print error in middleware/db-trx.middleware.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
waitingsong committed Jan 30, 2024
1 parent 34e3ac0 commit 007834e
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@ async function middleware(
try {
await next()
}
catch (ex) {
console.warn('error in kmore middleware', ex)
throw ex
}
// catch (ex) {
// console.warn('error inner kmore middleware', ex)
// throw ex
// }
finally {
await rollbackAndCleanCtxTransactions(ctx)
}
Expand Down

0 comments on commit 007834e

Please sign in to comment.