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

Add panic handler #655

Draft
wants to merge 6 commits into
base: staging
Choose a base branch
from
Draft

Add panic handler #655

wants to merge 6 commits into from

Conversation

lmbollen
Copy link
Contributor

I've found myself continuously rewriting the panic handler, so I added a reusable one that uses the log infrastructure

@lmbollen lmbollen force-pushed the lucas/add-panic-handler branch from 0f8ec05 to d9af8d0 Compare November 27, 2024 13:38
error!("{}", info);
uwriteln!(uart, "Looping forever now").ok();
}
None => panic!("Logger not set"),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wouldn't this keep on recursing?

@martijnbastiaan
Copy link
Contributor

Has this been superseded by #690?

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.

3 participants