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

Improve error messages #123

Merged
merged 3 commits into from
Jan 17, 2025
Merged

Improve error messages #123

merged 3 commits into from
Jan 17, 2025

Conversation

jecisc
Copy link
Contributor

@jecisc jecisc commented Jan 17, 2025

When there is a syntax error in a Tonel file, an error is raised. The problem is that when we load a project from disk, we do not know in which file the error is.

This change makes the TonelReader catch those exception to add the file info and pass the exception with more info. This will be helpful for debugging

When there is a syntax error in a Tonel file, an error is raised. The problem is that when we load a project from disk, we do not know in which file the error is.

This change makes the TonelReader catch those exception to add the file info and pass the exception with more info. This will be helpful for debugging
@jecisc jecisc merged commit 04f7d54 into pharo-vcs:Pharo13 Jan 17, 2025
1 check passed
@jecisc jecisc deleted the error-messages branch January 17, 2025 17:33
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

Successfully merging this pull request may close these issues.

2 participants