diff --git a/awx/main/consumers.py b/awx/main/consumers.py index b6d8872ebd..4fc1196dbe 100644 --- a/awx/main/consumers.py +++ b/awx/main/consumers.py @@ -75,7 +75,7 @@ class WebsocketSecretAuthHelper: nonce_diff = now - nonce_parsed if abs(nonce_diff) > nonce_tolerance: logger.warn(f"Potential replay attack or machine(s) time out of sync by {nonce_diff} seconds.") - raise ValueError("Potential replay attack or machine(s) time out of sync by {nonce_diff} seconds.") + raise ValueError(f"Potential replay attack or machine(s) time out of sync by {nonce_diff} seconds.") return True