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

Option to drop into 'recover' when running testJob throws an error #302

Open
mb706 opened this issue Aug 21, 2024 · 0 comments
Open

Option to drop into 'recover' when running testJob throws an error #302

mb706 opened this issue Aug 21, 2024 · 0 comments

Comments

@mb706
Copy link

mb706 commented Aug 21, 2024

I want to be able to run testJob() and go into the debugger when an error occurs. Currently, testJob() ends up calling execJob.Experiment, which does this

options(error = function(e) traceback(2L))

This means I can not set options(error=recover) before running testJob() to get what I want. There should be some kind of option to override this, or to stop execJob from overwriting options here (realistically someone might want to have an 'error' option that is something else entirely).

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

No branches or pull requests

1 participant