Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introspection Error Reporting does not output report ID #1501

Closed
janpio opened this issue Jan 31, 2020 · 1 comment
Closed

Introspection Error Reporting does not output report ID #1501

janpio opened this issue Jan 31, 2020 · 1 comment
Assignees
Labels
bug/0-unknown Bug is new, does not have information for reproduction or reproduction could not be confirmed. kind/bug A reported bug. topic: prisma db pull CLI: prisma db pull
Milestone

Comments

@janpio
Copy link
Member

janpio commented Jan 31, 2020

If you break introspect and then decide to submit an error report, the CLI does so but does not give you the error report ID:

C:\Users\Jan\Documents
λ prisma2 introspect --url mysql://prisma:...@introspection-public-mysql-cluster.cluster-ro-clfeqqifnebj.eu-west-1.rds.amazonaws.com:3306/allsquare --print
Error [ERR_STREAM_DESTROYED]: Cannot call write after a stream was destroyed
    at doWrite (_stream_writable.js:411:19)
    at writeOrBuffer (_stream_writable.js:399:5)
    at Socket.Writable.write (_stream_writable.js:299:11)
    at Promise (C:\ProgramData\nvm\v10.16.3\node_modules\prisma2\build\index.js:2:980933)
    at new Promise (<anonymous>)
    at IntrospectionEngine.<anonymous> (C:\ProgramData\nvm\v10.16.3\node_modules\prisma2\build\index.js:2:979697)
    at Generator.next (<anonymous>)
    at fulfilled (C:\ProgramData\nvm\v10.16.3\node_modules\prisma2\build\index.js:2:974378)
    at process._tickCallback (internal/process/next_tick.js:68:7)
[src\libcore\result.rs:1165:5] called `Result::unwrap()` on an `Err` value: "Table clubs not found"
We successfully received the error report

Thanks a lot for your help! �

(The emoji is also not visible in most Windows command lines)

@janpio janpio added bug/0-unknown Bug is new, does not have information for reproduction or reproduction could not be confirmed. kind/bug A reported bug. topic: cli-introspect labels Jan 31, 2020
@janpio janpio added this to the Preview 22 milestone Jan 31, 2020
@timsuchanek
Copy link
Contributor

Thanks a lot for reporting 🙏
This issue is fixed in the latest alpha version of prisma2.
You can try it out with npm i -g prisma2@alpha.

In case it’s not fixed for you - please let us know and we’ll reopen this issue!

@janpio janpio added topic: prisma db pull CLI: prisma db pull and removed topic: prisma introspect labels Feb 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug/0-unknown Bug is new, does not have information for reproduction or reproduction could not be confirmed. kind/bug A reported bug. topic: prisma db pull CLI: prisma db pull
Projects
None yet
Development

No branches or pull requests

3 participants