Limiting result of the execution to execution-specific errors (#1071)
* execution error/result limiting * missing trailing comma * fix executive tests * adding original error as string to the generic transaction error * 'mallformed'-s all around
This commit is contained in:
@@ -381,7 +381,7 @@ impl KeyFileContent {
|
||||
}
|
||||
}
|
||||
|
||||
/// Loads key from valid json, returns error and records warning if key is mallformed
|
||||
/// Loads key from valid json, returns error and records warning if key is malformed
|
||||
pub fn load(json: &Json) -> Result<KeyFileContent, ()> {
|
||||
match Self::from_json(json) {
|
||||
Ok(key_file) => Ok(key_file),
|
||||
|
||||
Reference in New Issue
Block a user