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

Update index.js #33

Merged
merged 2 commits into from
Jan 3, 2024
Merged

Update index.js #33

merged 2 commits into from
Jan 3, 2024

Conversation

radu-v
Copy link
Collaborator

@radu-v radu-v commented Jan 3, 2024

In some cases the powershell script might output some warnings before returning the JSON containing the exported tasks. When this happens, the script will fail due to it not being able to parse the output. This change adds a try..catch around parsing and outputs the non-JSON string.

radu-v added 2 commits January 3, 2024 12:22
In some cases the powershell script might output some warnings before returning the JSON containing the exported tasks. When this happens, the script will fail due to it not being able to parse the output.
This change adds a try..catch around parsing and outputs the non-JSON string.
Remove unused `async`
@radu-v radu-v self-assigned this Jan 3, 2024
@radu-v radu-v merged commit ce40539 into master Jan 3, 2024
1 check passed
@radu-v radu-v deleted the saferResultParsing branch January 3, 2024 12:26
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