mirror of
https://github.com/YGGverse/Yoda.git
synced 2025-01-27 11:34:14 +00:00
handle Text::from_stream_async
errors
This commit is contained in:
parent
b6e1ae4e6a
commit
64d7165774
@ -94,7 +94,11 @@ fn handle(
|
||||
_ => false,
|
||||
},
|
||||
}),
|
||||
Err(_) => todo!(),
|
||||
Err(e) => callback(Response::Failure(Failure::Mime {
|
||||
base,
|
||||
mime: mime.to_string(),
|
||||
message: e.to_string(),
|
||||
})),
|
||||
},
|
||||
),
|
||||
"image/png" | "image/gif" | "image/jpeg" | "image/webp" => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user