vincbeck commented on code in PR #47747:
URL: https://github.com/apache/airflow/pull/47747#discussion_r1994187893


##########
providers/fab/src/airflow/providers/fab/www/views.py:
##########
@@ -77,22 +75,11 @@ def index(self):
 
 def show_traceback(error):
     """Show Traceback for a given error."""
-    is_logged_in = get_auth_manager().is_logged_in()
     return (
         render_template(
             "airflow/traceback.html",
-            python_version=sys.version.split(" ")[0] if is_logged_in else 
"redacted",
-            airflow_version=version if is_logged_in else "redacted",
-            hostname=(
-                get_hostname()
-                if conf.getboolean("webserver", "EXPOSE_HOSTNAME") and 
is_logged_in
-                else "redacted"
-            ),
-            info=(
-                traceback.format_exc()
-                if conf.getboolean("webserver", "EXPOSE_STACKTRACE") and 
is_logged_in
-                else "Error! Please contact server admin."
-            ),
+            python_version=sys.version.split(" ")[0],

Review Comment:
   I thought about it but yes you're right



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to