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 error handling #377

Closed
wants to merge 1 commit into from
Closed

Conversation

oliviertassinari
Copy link

@oliviertassinari oliviertassinari commented Oct 29, 2022

These are promises, we need to use await to be able to catch the errors. For example, in https://github.com/mui/mui-x/actions/runs/3350385087/jobs/5551157153 the job failed but is marked as successful 🙈.

(The job failed because MUI didn't set the right permissions, we use "Default access restricted" in https://docs.github.com/en/actions/security-guides/automatic-token-authentication).

Context: mui/mui-x#6658

These are promises, we need to use `await` to be able to catch the errors. For example in https://github.com/mui/mui-x/actions/runs/3350385087/jobs/5551157153 we don't set the right permissions. We use "Default access (restricted)" https://docs.github.com/en/actions/security-guides/automatic-token-authentication
@oliviertassinari
Copy link
Author

No review, closing

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