When a user submits a bug which has a non-existing QA Contact or assignee, it results in an Internal Error. Please refer to the image.
I need to provide a link to the same bug so that the user can revisit the bug and see the updates.
But in code-error.html.tmpl I cannot access the bug id. Please suggest how to access the details of the bug from this file.