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

Informative error message #131

Closed
Benny-Skidanov opened this issue Dec 14, 2020 · 0 comments
Closed

Informative error message #131

Benny-Skidanov opened this issue Dec 14, 2020 · 0 comments
Assignees

Comments

@Benny-Skidanov
Copy link

I have accidentally passed a non BEvent object to the bp.sync method and received a non informative error message:
java.util.concurrent.ExecutionException: org.mozilla.javascript.WrappedException: Wrapped java.lang.ClassCastException: class java.lang.String cannot be cast to class il.ac.bgu.cs.bp.bpjs.model.BEvent (java.lang.String is in module java.base of loader 'bootstrap'; il.ac.bgu.cs.bp.bpjs.model.BEvent is in unnamed module of loader 'app')

Can the message be changed to something more informative (such as I expected for a BEvent in the second parameter and received ".....").

Thanks

@michbarsinai michbarsinai added this to the Pre-1.0 cleanup milestone Dec 30, 2020
@michbarsinai michbarsinai self-assigned this Dec 30, 2020
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

No branches or pull requests

2 participants