Add back BPF error logging (#13633)
* Add back BPF error logging * Update programs/bpf_loader/src/lib.rs Co-authored-by: Michael Vines <mvines@gmail.com>
This commit is contained in:
parent
3e4acba72f
commit
3a9dca0c67
|
@ -295,6 +295,12 @@ impl Executor for BPFExecutor {
|
|||
}
|
||||
}
|
||||
Err(error) => {
|
||||
log!(
|
||||
logger,
|
||||
"Program {} BPF VM error: {}",
|
||||
program.unsigned_key(),
|
||||
error
|
||||
);
|
||||
let error = match error {
|
||||
EbpfError::UserError(BPFError::SyscallError(
|
||||
SyscallError::InstructionError(error),
|
||||
|
|
Loading…
Reference in New Issue