provide full Rust panic messages in BPF and add memory optimizations (#13455)
This commit is contained in:
@ -41,7 +41,7 @@ use thiserror::Error as ThisError;
|
||||
pub enum SyscallError {
|
||||
#[error("{0}: {1:?}")]
|
||||
InvalidString(Utf8Error, Vec<u8>),
|
||||
#[error("BPF program called abort()!")]
|
||||
#[error("BPF program panicked")]
|
||||
Abort,
|
||||
#[error("BPF program Panicked in {0} at {1}:{2}")]
|
||||
Panic(String, u64, u64),
|
||||
|
Reference in New Issue
Block a user