From 71055fe367759b4b49dfab23640d740dbd90c141 Mon Sep 17 00:00:00 2001 From: blacktwin Date: Mon, 31 Jul 2017 07:48:28 -0400 Subject: [PATCH] Update kill_trans_pause.py --- killstream/kill_trans_pause.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/killstream/kill_trans_pause.py b/killstream/kill_trans_pause.py index 93d2c7d..843befe 100644 --- a/killstream/kill_trans_pause.py +++ b/killstream/kill_trans_pause.py @@ -70,5 +70,6 @@ if __name__ == '__main__': and s['Player']['state'] == 'paused': print("Killing {}'s stream for pausing a transcode stream of {}".format(s['User']['title'], s['title'])) kill_stream(s['Session']['id'], MESSAGE) - except Exception: + except Exception as e: + print('Session error: {}'.format(e)) pass