diff --git a/app.py b/app.py index 5b15972..2dc62f0 100644 --- a/app.py +++ b/app.py @@ -1211,7 +1211,7 @@ def deploy_user(user_id): db.session.commit() except Exception as e: db.session.add(DeployLog( - details=f'Failed to update {h.hostname}: {str(e)} for user {user_id}' + details=f'Failed to update {h.hostname}: {str(e)} for user {user_id}', user_id=user_id ))