prisma / prisma-1-cloud-feedback

Feedback for Prisma Cloud
https://app.prisma.io
5 stars 4 forks source link

Better error handling for the cli login #244

Closed pantharshit00 closed 5 years ago

pantharshit00 commented 5 years ago

Currently we show cryptic messages like Unexpected JSON > at position 0 etc.

We should have better error messages for these.

divyenduz commented 5 years ago

This error can be reproduced via:

  1. Logout from Prisma cloud
  2. Logout from Prisma CLI
  3. Try prisma login command
  4. Click "Grant Access"
divyenduz commented 5 years ago

This issue is resolved now. Please open a new issue in case the problem persists.