Skip to content

Conversation

@boegel
Copy link
Member

@boegel boegel commented Aug 12, 2023

The crash hook was introduced in #4315 by @XavierCS-dev on my request, but I noticed that it's not actually working at all: when adding a raise RuntimeError in the bzip2-1.0.6.eb easyblock, EasyBuild crashes as expected, but the crash hook or the "Encountered an unrecoverable error" message is never printed.

What's more is that I realized that if it would work, it would actually be counter-productive, since we wouldn't be getting a traceback anymore that tells use valuable information about the crash.

So, for now, let's just remove it, and take some more time to figure out how to implement it correctly...

@branfosj branfosj merged commit b19094d into easybuilders:develop Aug 12, 2023
@boegel boegel deleted the remove_crash_hook branch August 12, 2023 19:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants