-
Notifications
You must be signed in to change notification settings - Fork 6
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
wrapper: soft load state, add details to prints #135
base: master
Are you sure you want to change the base?
Conversation
=/ o ((soft input) input.u.ovum) | ||
?~ o | ||
~& "could not mold poke type: {<ovum>}" | ||
=+ (road |.(;;(^^ovum ovum))) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this prints out stack trace if soft fails
apps/choo/bootstrap/kernel.hoon
Outdated
^- choo-state | ||
?+ -.arg ~& >> %no-upgrade arg | ||
?~ ((soft versioned-state) old) | ||
~& >> "choo: +load old state does not nest under versioned-state" !! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add road here to get stack trace
wrapper: soft load state wrapper: add more details to poke prints
dbe2ab9
to
4a3c52e
Compare
@@ -28,7 +28,9 @@ pub use drivers::exit::exit as exit_driver; | |||
pub use drivers::file::file as file_driver; | |||
pub use drivers::http::http as http_driver; | |||
pub use drivers::markdown::markdown as markdown_driver; | |||
pub use drivers::npc::{npc_client as npc_client_driver, npc_listener as npc_listener_driver}; | |||
pub use drivers::npc::{ | |||
npc_client as npc_client_driver, npc_listener as npc_listener_driver, NpcWire, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
expose NpcWire for outside use
init tracing before setup to receive setup prints
soft load state in inner kernels
wrapper: add more details to poke prints
separate PR needs to be made to change load behavior in NockApp Kernel struct to "soft" load and print formatted stack trace in the case of failure.