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

Better exception error messages for Scala cells #302

Open
3 tasks
okennedy opened this issue Jan 24, 2024 · 0 comments
Open
3 tasks

Better exception error messages for Scala cells #302

okennedy opened this issue Jan 24, 2024 · 0 comments
Labels
enhancement New feature or request layer-scala An issue involving Scala compatibility code
Milestone

Comments

@okennedy
Copy link
Contributor

What pain point is this feature intended to address? Please describe.
Error reporting in scala cells sucks. Parse errors are incredibly uninformative, and when exceptions are reported, it's not entirely clear which parts of the code are responsible.

Describe the solution you'd like

  • When a parse error occurs, we should point at the specific part of the code that failed to parse
  • When an exception occurs, we should trim the stack trace to exclude 'internal' parts of the code.
  • When an exception occurs, we should point at the specific part of the code where the exception occurred (e.g., see https://github.com/laech/java-stacksrc )

Describe alternatives you've considered
Continuing to suffer through uninformative exceptions.

@okennedy okennedy added enhancement New feature or request layer-scala An issue involving Scala compatibility code labels Jan 24, 2024
@okennedy okennedy added this to the Version 2.1 milestone Jan 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request layer-scala An issue involving Scala compatibility code
Projects
None yet
Development

No branches or pull requests

1 participant