mirror of
https://github.com/httpie/cli.git
synced 2024-11-28 08:38:44 +02:00
Fix 'Too many redirects' error message formatting
This commit is contained in:
parent
cdf691c212
commit
c9d770017e
@ -90,7 +90,7 @@ def main(
|
|||||||
exit_status = ExitStatus.ERROR_TOO_MANY_REDIRECTS
|
exit_status = ExitStatus.ERROR_TOO_MANY_REDIRECTS
|
||||||
env.log_error(
|
env.log_error(
|
||||||
f'Too many redirects'
|
f'Too many redirects'
|
||||||
f' (--max-redirects=parsed_args.max_redirects).'
|
f' (--max-redirects={parsed_args.max_redirects}).'
|
||||||
)
|
)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
# TODO: Further distinction between expected and unexpected errors.
|
# TODO: Further distinction between expected and unexpected errors.
|
||||||
|
Loading…
Reference in New Issue
Block a user