From 0eba169038c70b2a2a965a444697e9c645df2b59 Mon Sep 17 00:00:00 2001 From: +++ Date: Wed, 13 Jul 2022 22:10:07 +0200 Subject: [PATCH] kleine aenderung im logging --- source/server/apistatusd.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/server/apistatusd.py b/source/server/apistatusd.py index eb59dc3..c0d6e00 100755 --- a/source/server/apistatusd.py +++ b/source/server/apistatusd.py @@ -362,11 +362,12 @@ def main(): if change_status(status, timestamp, config['api']['api']) is True: answer = raw_data if config['mastodon']['send'].lower() == 'true': + logging.debug('Toot is set to true') try: toot_thread = Toot(status, timestamp, config) toot_thread.run() except InitException as e: - logging.debug('InitException: {}'.format(e)) + logging.error('InitException: {}'.format(e)) except Exception as ex: logging.debug('Exception: {}'.format(ex)) else: logging.debug('Toot is set to false')