Do Not Fail on Non-2XX Responses
# Render the output of https://httbin.org/status/404 as a PNG
zshot --no-fail https://httpbin.org/status/404
By default, zshot will consider the render attempt a failure if the target URL returns a non-2XX status code. However, you can change this behavior to consider any completed request a success by using the --no-fail flag. Other factors may contribute to the process still failing however, including network conditions (unable to reach the target server) and environment conditions (invalid licensing state). This flag will only affect how zshot interprets HTTP status codes.