Exception

{% if profiler_token %} View Profile {% else %} View Profiler {% endif %}

{{ exception_type }} {{ exception_message }}

Error occurred while processing {{ request.method }} {{ request.url.path }}

🌐 Request Information

{% if request.headers.get('user-agent') %} {% endif %}
Method {{ request.method }}
URL {{ request.url }}
Path {{ request.url.path }}
Status Code 500
Client IP {{ request.client.host if request.client else 'Unknown' }}
User Agent {{ request.headers.get('user-agent')[:100] }}{% if request.headers.get('user-agent')|length > 100 %}...{% endif %}

💡 Quick Solutions

{% if exception_type == "TypeError" and "JSON serializable" in exception_message %}

JSON Serialization Error:

{% elif exception_type == "AttributeError" %}

Attribute Error:

{% elif exception_type == "ImportError" or exception_type == "ModuleNotFoundError" %}

Import Error:

{% elif exception_type == "KeyError" %}

Key Error:

{% elif exception_type == "IndexError" %}

Index Error:

{% else %}

General Debugging Tips:

{% endif %}
{% if traceback %}

🔍 Stack Trace

{{ traceback }}
{% endif %}