Skip to content
Snippets Groups Projects
Commit d28bcf86 authored by Tamas Gal's avatar Tamas Gal :speech_balloon:
Browse files

Add some debug info

parent e6a91d16
No related branches found
No related tags found
No related merge requests found
......@@ -98,7 +98,8 @@ def register_handlers(bot):
stderr=subprocess.STDOUT).decode('ascii')
except subprocess.CalledProcessError as e:
output = e.output.decode('ascii')
print("supervisorctl output, called by {}:\n{}".format(user, output))
print("supervisorctl ({}), called by {}:\n{}".format(
msg, user, output))
bot.send_message(output, channel_id)
def shifters(msg, user, channel_id):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment