prisma / studio

🎙️ The easiest way to explore and manipulate your data in all of your Prisma projects.
https://www.prisma.io/studio
1.89k stars 47 forks source link

Error Reporting does not report CLI version as version #394

Closed janpio closed 4 years ago

janpio commented 4 years ago

https://prisma-errors.netlify.com/report/2326

image

sdnts commented 4 years ago

I'm not sure how this happened, just checked latest alpha and preview, and the versions seem to be resolved properly.

As background information: Studio receives CLI and binary versions from the CLI (when you run prisma2 studio), and uses the sendPanic method from the SDK to send this info to the error reporting backend, so how this happened has me really confused. :/

sdnts commented 4 years ago

Okay here's the underlying issue: https://github.com/prisma/prisma2/issues/2005

I've changed the call from Studio for now so the reports are correct, will change it again when the aforementioned issue is addressed. This will be out with alpha.987