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

Incorrect message is displayed when File.open failed. #288

Closed
Kray-G opened this issue May 13, 2021 · 0 comments
Closed

Incorrect message is displayed when File.open failed. #288

Kray-G opened this issue May 13, 2021 · 0 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@Kray-G
Copy link
Owner

Kray-G commented May 13, 2021

For example, when you specify the file which doesn't exist.

File.open("no-file", File.READ) {};

The exception which is different from what we have expected occurs.

Uncaught exception: No one catch the exception.
SystemException: Method missing
Stack Trace Information:
        at <main-block>((unknown):1)

What we expect is like this.

Uncaught exception: No one catch the exception.
FileException: File open failed: No such file or directory
Stack Trace Information:
        at <main-block>((unknown):1)
@Kray-G Kray-G self-assigned this May 13, 2021
@Kray-G Kray-G added the bug Something isn't working label May 13, 2021
@Kray-G Kray-G added this to the v1.1.0 milestone May 13, 2021
Kray-G added a commit that referenced this issue May 13, 2021
@Kray-G Kray-G closed this as completed in b8e8f34 May 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant