Ticket #1942 (closed defect: wontfix)
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
Note: See
TracTickets for help on using
tickets.