Skip to content

Log preparation errors #1553

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

Merged
merged 1 commit into from
Mar 17, 2023
Merged

Log preparation errors #1553

merged 1 commit into from
Mar 17, 2023

Conversation

Kobzol
Copy link
Contributor

@Kobzol Kobzol commented Mar 15, 2023

This PR adds logging for errors during preparation. If preparation of a benchmark fails in any way or panics (shouldn't happen, hopefully), the error will now be correctly propagated and logged.

This PR also removes dependency on crossbeam-utils.

@Kobzol Kobzol requested a review from Mark-Simulacrum March 15, 2023 13:05
@Kobzol Kobzol changed the title Remove dependency on crossbeam-utils Log preparation errors Mar 17, 2023
@Kobzol Kobzol force-pushed the remove-crossbeam branch from 41f773c to 4735406 Compare March 17, 2023 08:31
@Kobzol
Copy link
Contributor Author

Kobzol commented Mar 17, 2023

CC @Mark-Simulacrum, now it doesn't ignore errors and also shouldn't panic on them :) Tested locally that both a compilation error and a panic within a preparation thread now logs the error into the database properly.

@Mark-Simulacrum Mark-Simulacrum merged commit 57c20d9 into master Mar 17, 2023
@Mark-Simulacrum Mark-Simulacrum deleted the remove-crossbeam branch March 17, 2023 22:23
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