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

catch permission error on exit #7

Merged
merged 2 commits into from
Aug 6, 2023
Merged

Conversation

justinmchase
Copy link
Owner

In deno deploy the exit function is not allowed and throws a PermissionError. This is safe to ignore in this case, the process will be exited anyway.

So instead we are going to log a critical error with some extra info and let it exit normally.

@justinmchase justinmchase self-assigned this Aug 6, 2023
@justinmchase justinmchase merged commit 335a746 into main Aug 6, 2023
4 checks passed
@justinmchase justinmchase deleted the fix/error-on-exit-in-deploy branch August 6, 2023 18:06
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.

None yet

1 participant