diff options
| author | 2020-05-17 10:34:38 +0300 | |
|---|---|---|
| committer | 2020-05-17 10:34:38 +0300 | |
| commit | 7d0f56917c10709a951f579a030177701ea66339 (patch) | |
| tree | 9d2ccbca6be9e3bb1ca2e1cef625d79ff684ce30 | |
| parent | PEP Improvisations: Fix formatting of blocks (diff) | |
PEP Improvisations: Remove response from logging to avoid newline
| -rw-r--r-- | bot/cogs/utils.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/bot/cogs/utils.py b/bot/cogs/utils.py index 12f7204fc..fac2af721 100644 --- a/bot/cogs/utils.py +++ b/bot/cogs/utils.py @@ -281,8 +281,7 @@ class Utils(Cog): return pep_embed else: log.trace( - f"The user requested PEP {pep_nr}, but the response had an unexpected status code: " - f"{response.status}.\n{response.text}" + f"The user requested PEP {pep_nr}, but the response had an unexpected status code: {response.status}." ) error_message = "Unexpected HTTP error during PEP search. Please let us know." |