Update profile.py, allow process_exception middleware to fire