mirror of
https://github.com/urbit/ares.git
synced 2024-11-22 15:08:54 +03:00
jets: replace manual bail:exit call
This commit is contained in:
parent
852f033d4e
commit
7f5d8b57e1
@ -234,8 +234,7 @@ pub mod util {
|
||||
}
|
||||
|
||||
pub fn slot(noun: Noun, axis: u64) -> Result {
|
||||
noun.slot(axis)
|
||||
.map_err(|_e| JetErr::Fail(Error::Deterministic(Mote::Exit, D(0))))
|
||||
noun.slot(axis).map_err(|_e| BAIL_EXIT)
|
||||
}
|
||||
|
||||
/// Extract a bloq and check that it's computable by the current system
|
||||
|
Loading…
Reference in New Issue
Block a user