Skip to content

Commit 48cb827

Browse files
authored
Add field in all types of task status (#390)
1 parent 4178388 commit 48cb827

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/tasks.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@ pub struct SucceededTask {
120120
#[serde(with = "time::serde::rfc3339")]
121121
pub finished_at: OffsetDateTime,
122122
pub index_uid: Option<String>,
123+
pub error: Option<MeilisearchError>,
123124
#[serde(flatten)]
124125
pub update_type: TaskType,
125126
pub uid: u32,

0 commit comments

Comments
 (0)