mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-02 08:28:18 +00:00
report more
This commit is contained in:
1 parent
4c7bb66356
commit
0405ea901f
1 file changed
+2
@@ -171,6 +171,8 @@ mod tests {
|
||||
println!(" raw message: {}", reason.raw_message);
|
||||
println!(" underlying status: {}", reason.maybe_underlying_status.as_deref().unwrap_or("(unparsed)"));
|
||||
println!(" content violation: {}", reason.is_content_violation());
|
||||
println!(" error type: {}", reason.maybe_error_type.as_deref().unwrap_or("(none)"));
|
||||
println!(" request id: {}", reason.maybe_request_id.as_deref().unwrap_or("(none)"));
|
||||
}
|
||||
Ok(None) => println!(" failure probe: content unexpectedly downloadable"),
|
||||
Err(err) => println!(" failure probe error: {err}"),
|
||||
|
||||
Reference in new issue
Block a user