Skip to content

fix(client): stack trace with source-map-support. Closes #3945#4137

Merged
timsuchanek merged 4 commits intomasterfrom
fix-3945
Nov 3, 2020
Merged

fix(client): stack trace with source-map-support. Closes #3945#4137
timsuchanek merged 4 commits intomasterfrom
fix-3945

Conversation

@timsuchanek
Copy link
Copy Markdown
Contributor

@timsuchanek timsuchanek commented Nov 3, 2020

Closes #3945

The parsing logic of the stack trace is now moved out to a separate function called parseStack.
Also we're printing the "simple" stack without the concrete stack trace, if the line, that we found doesn't contain Prisma.

@timsuchanek timsuchanek requested a review from Jolg42 November 3, 2020 10:07
@Jolg42 Jolg42 added this to the Release 2.11.0 milestone Nov 3, 2020
Comment on lines +51 to +53
# https://stackoverflow.com/questions/55559386/how-to-fix-mbind-operation-not-permitted-in-mysql-error-log
cap_add:
- SYS_NICE # CAP_SYS_NICE
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks unrelated, first time I see that.
Did it happen on your Linux machine?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, happened on my Linux machine

Comment thread src/packages/client/package.json Outdated
Copy link
Copy Markdown
Contributor

@Jolg42 Jolg42 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See comments, looks good!

@Jolg42
Copy link
Copy Markdown
Contributor

Jolg42 commented Nov 3, 2020

New snapshots are 😍

@timsuchanek timsuchanek merged commit 1d3987a into master Nov 3, 2020
@timsuchanek timsuchanek deleted the fix-3945 branch November 3, 2020 14:32
Jolg42 added a commit that referenced this pull request Nov 4, 2020
* master: (25 commits)
  chore: cleanup tests
  chore: update snapshots
  fix: only generate .env path if present
  fix: improve warning
  fix(client): stack trace with source-map-support. Closes #3945 (#4137)
  feat(client, sdk, cli): env loading rewrite (#4142)
  ci: increase health check retries for db GH Actions
  fix(deps): update dependency undici to v2.1.1 (#4135)
  chore(deps): update devdependencies (non-major)
  fix(deps): update engines to v2.11.1-4-1d5919363a85847350c3f517da9babd9bcaca792 (#4131)
  ci: try fix for flaky client GH actions
  chore(deps): update studio to v0.307.0 (#4128)
  fix(client): remove package.json in custom output paths (#4130)
  feat: stabilize transaction & connectOrCreate (#4129)
  fix: print getConfig warnings (#4124)
  fix(cli): Ignore all errors that occur when opening Studio in a browser (#4119)
  chore: update renovate for Studio [skip ci]
  Bump Studio [skip ci]
  chore(cli): preinstall throw on node < 10 (#4118)
  chore: cleanup jest config (#4120)
  ...

# Conflicts:
#	src/packages/migrate/src/bin.ts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Error in prisma results in unhandled promise rejection

2 participants