m/cup
1
0
mirror of https://github.com/sergi0g/cup.git synced 2025-11-16 17:13:46 -05:00

Add error message to API response

This commit is contained in:
Sergio
2024-12-20 17:00:41 +02:00
parent c84270603f
commit 4f1075b2b2

View File

@@ -171,8 +171,10 @@ impl Image {
} }
}, },
_ => unreachable!() _ => unreachable!()
}) }),
}}, },
error: self.error.clone()
},
time: self.time_ms time: self.time_ms
} }
} }