Skip to content

Commit

Permalink
chore: fix error stack
Browse files Browse the repository at this point in the history
  • Loading branch information
timsuchanek committed Jul 28, 2020
1 parent dde80df commit fee4d6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/packages/engine-core/src/NodeEngine.ts
Original file line number Diff line number Diff line change
Expand Up @@ -998,7 +998,7 @@ Please look into the logs or turn on the env var DEBUG=* to debug the constantly
if (!err) {
const lastLog = this.getLastLog()
const logs = lastLog || this.stderrLogs || this.stdoutLogs
const title = error.message
const title = lastLog ?? error.message
err = new PrismaClientUnknownRequestError(
getErrorMessageWithLink({
platform: this.platform,
Expand Down

0 comments on commit fee4d6d

Please sign in to comment.