fixed log definition on local user

This commit is contained in:
Tuncay ÇOLAK 2021-10-11 11:33:55 +03:00
parent de959f6b42
commit 6b449d5c00
2 changed files with 2 additions and 2 deletions

View file

@ -157,7 +157,7 @@ class AddUser(AbstractPlugin):
else:
return None, None, None
except Exception as e:
return 1, 'Could not execute command: {0}. Error Message: {1}'.format(command, str(e)), ''
return 1, 'Could not execute command. Error Message: {0}'.format(str(e)), ''
def handle_task(task, context):

View file

@ -169,7 +169,7 @@ class EditUser(AbstractPlugin):
else:
return None, None, None
except Exception as e:
return 1, 'Could not execute command: {0}. Error Message: {1}'.format(command, str(e)), ''
return 1, 'Could not execute command. Error Message: {0}'.format(str(e)), ''
def handle_task(task, context):
edit_user = EditUser(task, context)