You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: locust/web.py
+2-1
Original file line number
Diff line number
Diff line change
@@ -628,7 +628,8 @@ def wrapper(*args, **kwargs):
628
628
session["auth_info"] =None
629
629
returnlogin_required(view_func)(*args, **kwargs)
630
630
exceptExceptionase:
631
-
returnf"Locust auth exception: {e} See https://docs.locust.io/en/stable/extending-locust.html#adding-authentication-to-the-web-ui for configuring authentication."
631
+
logger.exception("Locust auth exception")
632
+
returnf"Locust auth exception: {e}<br/><br/>See https://docs.locust.io/en/stable/extending-locust.html#adding-authentication-to-the-web-ui for configuring authentication, or disable login by removing --web-login argument."
0 commit comments