Ticket #711 (new enhancement)

Opened 5 years ago

Last modified 3 years ago

Global error handling & debug mode

Reported by: DarTar Owned by: unassigned
Priority: normal Milestone: blue-sky
Component: architecture Version: 1.1.6.4
Severity: normal Keywords:
Cc: JavaWoman, DotMG, BrianKoontz, NilsLindenberg

Description (last modified by DarTar) (diff)

This handler should:

  • monitor all errors or warnings from the wiki;
  • display messages in a consistent way;
  • dispatch notifications when needed and depending on specific configuration settings.

A debug mode should display, when activated, more information about the i/o of each component (actions, handlers etc.), on top of the existing SQL debugging, to wiki admins. A new class (.debug) was added to 1.1.6.4 for the styling of debug messages (hardcoded for the checkversion action).

Related tickets

  • #553 Responsibilities and "contract"
  • #439 DB connection errors

Change History

Changed 5 years ago by DarTar

  • description modified (diff)

Changed 5 years ago by DarTar

  • description modified (diff)

Changed 5 years ago by DarTar

  • cc DotMG, BrianKoontz, NilsLindenberg added

Trunk contains basic utilities for logging and debugging. Debug messages are currently generated in a very crude way, e.g.: if ($debug) echo "default 3rd-party component URI paths...<br/>\n"; We should use a simple function instead, every time this output is needed and the debug flag is active, wrapping the error message in a paragraph with the debug class (already in trunk's stylesheet).

Changed 4 years ago by BrianKoontz

  • milestone changed from 1.2.2 to 1.3

Changed 3 years ago by BrianKoontz

  • milestone changed from 1.3 to blue-sky
Note: See TracTickets for help on using tickets.