Skip to content

Commit

Permalink
Qualify binary engine error target
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelff committed Nov 21, 2022
1 parent 8401a2d commit b59ed44
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion packages/engine-core/src/binary/BinaryEngine.ts
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,11 @@ You may have to run ${chalk.greenBright('prisma generate')} for your changes to

private emitError(err: any) {
const message = err.message ?? err
this.logEmitter.emit('error', { message: message, timestamp: new Date() })
this.logEmitter.emit('error', {
message: message,
timestamp: new Date(),
target: 'binary engine lifecycle management',
})
}

private checkForTooManyEngines() {
Expand Down

0 comments on commit b59ed44

Please sign in to comment.