-
Suggestion
-
Resolution: Fixed
-
None
Consider the following scenario:
- You are running a public Confluence installation that contains uncountable uses of {a-macro}
- One of those instances on a page somewhere is throwing exceptions
- You didn't trigger the exception and can assume the user didn't report the red "bad macro" they saw on screen.
In the logs all you will see is a stacktrace which ripples from the macro's class through the renderer and beyond. Unfortunately there's no contextual information.
- Which ceo ID was this being rendered against? (if any)
- Which username was logged in at the time? (if any)
There may be other contextual information, but I would like to get the rendering exceptions (where possible) to give me as much contextual information so I can replicate ... the easiest way I can think of doing that is to catch and rethrow/log the runtime & macro exceptions, but tag on the context to the exception message.
- relates to
-
CONFSERVER-8020 Missing context on indexing exceptions / errors
-
- Closed
-
[CONFSERVER-7878] Add RenderContext information to exceptions that filter through the Wiki Renderer
Workflow | Original: JAC Suggestion Workflow 4 [ 3570004 ] | New: JAC Suggestion Workflow 3 [ 4333728 ] |
Workflow | Original: JAC Suggestion Workflow 2 [ 3178741 ] | New: JAC Suggestion Workflow 4 [ 3570004 ] |
Status | Original: RESOLVED [ 5 ] | New: Closed [ 6 ] |
Workflow | Original: JAC Suggestion Workflow [ 3037922 ] | New: JAC Suggestion Workflow 2 [ 3178741 ] |
Workflow | Original: Confluence Workflow - Public Facing v4 [ 2534567 ] | New: JAC Suggestion Workflow [ 3037922 ] |
Workflow | Original: Confluence Workflow - Public Facing v3 [ 2295432 ] | New: Confluence Workflow - Public Facing v4 [ 2534567 ] |
Workflow | Original: Confluence Workflow - Public Facing v3 - TEMP [ 2190485 ] | New: Confluence Workflow - Public Facing v3 [ 2295432 ] |
Workflow | Original: Confluence Workflow - Public Facing v3 [ 1924139 ] | New: Confluence Workflow - Public Facing v3 - TEMP [ 2190485 ] |
Workflow | Original: Confluence Workflow - Public Facing v2 [ 1754947 ] | New: Confluence Workflow - Public Facing v3 [ 1924139 ] |
Workflow | Original: CONF Suggestion WF (TEMP) [ 1683687 ] | New: Confluence Workflow - Public Facing v2 [ 1754947 ] |
Workflow | Original: Confluence Workflow - Public Facing [ 1361696 ] | New: CONF Suggestion WF (TEMP) [ 1683687 ] |