kleine aenderung im logging
This commit is contained in:
parent
666a997a90
commit
0eba169038
1 changed files with 2 additions and 1 deletions
|
@ -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')
|
||||
|
|
Loading…
Reference in a new issue