fix logging string formatting
This commit is contained in:
parent
1ba6a2ad9d
commit
1ad42ca4fd
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,7 @@ def setup_file_sftp_userdir(username):
|
||||||
stderr=subprocess.STDOUT)
|
stderr=subprocess.STDOUT)
|
||||||
except subprocess.CalledProcessError as exc:
|
except subprocess.CalledProcessError as exc:
|
||||||
_logger.exception(
|
_logger.exception(
|
||||||
'could not create SFTP directory for user {0}: {1}',
|
'could not create SFTP directory for user %s: %s',
|
||||||
username, exc.output
|
username, exc.output
|
||||||
)
|
)
|
||||||
raise Reject(exc, requeue=False)
|
raise Reject(exc, requeue=False)
|
||||||
|
|
Loading…
Reference in a new issue