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

fix: add error handling for tsHandler #645

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

alberthan1
Copy link

I often ran into this error:
Screenshot 2025-02-04 at 5 29 38 PM

At first, I thought it was an issue with it being passed too many files (which is what led me to wanting something like #644), but I found that this still happened even when single problematic files were being passed. I found that sometimes the error stemmed from a syntax error in the source file, but other times it wasn't immediately obvious what was wrong. Either way, I think a better experience is to catch the error and continue processing the rest of the source files (and provide a list of the bad files for further debugging).

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.

1 participant