chore: skip none trace error (#1577)
This commit is contained in:
parent
0bf9665d98
commit
79e59eaffd
|
@ -103,6 +103,7 @@ pub struct Trace {
|
|||
#[serde(rename = "type")]
|
||||
pub action_type: ActionType,
|
||||
/// Error
|
||||
#[serde(default, skip_serializing_if = "Option::is_none")]
|
||||
pub error: Option<String>,
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue