chore: Add more descriptive error message
--- don't change below this line --- ENG-4063 Took 14 minutes
This commit is contained in:
@@ -48,9 +48,10 @@ impl ProtocolApprovalsManager {
|
||||
|
||||
Ok(allowance.is_zero())
|
||||
}
|
||||
Err(err) => {
|
||||
Err(EncodingError::RecoverableError(format!("Call failed with error: {:?}", err)))
|
||||
}
|
||||
Err(err) => Err(EncodingError::RecoverableError(format!(
|
||||
"Allowance call failed with error: {:?}",
|
||||
err
|
||||
))),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user