diff options
author | Trygve Aaberge <trygveaa@gmail.com> | 2023-01-29 00:19:17 +0100 |
---|---|---|
committer | Trygve Aaberge <trygveaa@gmail.com> | 2024-02-18 11:32:53 +0100 |
commit | 8f3a5bdc1ec969ae069451ddf8c68ade002782bc (patch) | |
tree | 493fec3bbda8aa154a91854f443c0711960f5089 /slack/http.py | |
parent | b8025c704e280551035f8c0ba60d581d78ee953a (diff) | |
download | wee-slack-8f3a5bdc1ec969ae069451ddf8c68ade002782bc.tar.gz |
Improve error printing
Diffstat (limited to 'slack/http.py')
-rw-r--r-- | slack/http.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/slack/http.py b/slack/http.py index b899690..9347842 100644 --- a/slack/http.py +++ b/slack/http.py @@ -46,7 +46,7 @@ async def hook_process_hashtable(command: str, options: Dict[str, str], timeout: stderr.write(err) out = stdout.getvalue() - err = stderr.getvalue() + err = stderr.getvalue().strip() log( LogLevel.DEBUG, f"hook_process_hashtable response ({future.id}): command: {command}, " |