aboutsummaryrefslogtreecommitdiffstats
path: root/slack/http.py
diff options
context:
space:
mode:
authorTrygve Aaberge <trygveaa@gmail.com>2023-01-29 00:19:17 +0100
committerTrygve Aaberge <trygveaa@gmail.com>2024-02-18 11:32:53 +0100
commit8f3a5bdc1ec969ae069451ddf8c68ade002782bc (patch)
tree493fec3bbda8aa154a91854f443c0711960f5089 /slack/http.py
parentb8025c704e280551035f8c0ba60d581d78ee953a (diff)
downloadwee-slack-8f3a5bdc1ec969ae069451ddf8c68ade002782bc.tar.gz
Improve error printing
Diffstat (limited to 'slack/http.py')
-rw-r--r--slack/http.py2
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}, "