Dotclear

Ticket #1942 (closed defect: wontfix)

Opened 12 years ago

Last modified 8 years ago

Make DB errors more relevant

Reported by: bruno Owned by: team
Priority: normal Milestone:
Component: module:clearbricks Version: 2.6.2
Severity: normal Keywords:
Cc:

Description

Currently, when failing to connect to a db, the only error message that is raised is "Unable to connect to database", with no more details, whereas php can provide more information on the failure.

dblayer should define its own exception that has an extended status telling more precisely about the raised error. That enables the caller to display it when appropriate (ie. not on the public side).

Change History

comment:1 Changed 9 years ago by franck

  • Milestone changed from A definir to Clearbricks 1.0

comment:2 Changed 8 years ago by franck

  • Status changed from new to closed
  • Resolution set to wontfix
  • Milestone Clearbricks 1.0 deleted
Note: See TracTickets for help on using tickets.

Sites map