File tree Expand file tree Collapse file tree 3 files changed +1
-3
lines changed Expand file tree Collapse file tree 3 files changed +1
-3
lines changed Original file line number Diff line number Diff line change 22
22
"iso-language-codes" : " ^2.0.0" ,
23
23
"mime-types" : " ^2.1.35" ,
24
24
"parse-filepath" : " ^1.0.2" ,
25
- "pretty-print-error" : " ^1.1.2" ,
26
25
"s3-sync-client" : " ^4.3.1" ,
27
26
"shared" : " workspace:*"
28
27
},
Original file line number Diff line number Diff line change 1
1
import { WaitingChildrenError , Worker } from "bullmq" ;
2
- import { formatError } from "pretty-print-error" ;
3
2
import { assert } from "shared/assert" ;
4
3
import { connection } from "./env" ;
5
4
import { WorkerDir } from "./lib/worker-dir" ;
@@ -25,7 +24,7 @@ export function runWorkers(
25
24
26
25
worker . on ( "error" , ( failedReason ) => {
27
26
// Pretty print the error for debug reasons.
28
- console . log ( formatError ( failedReason ) ) ;
27
+ console . dir ( failedReason ) ;
29
28
} ) ;
30
29
31
30
return worker ;
You can’t perform that action at this time.
0 commit comments