Fork me on GitHub
Subscribe 1

Ticket #542 (fixed enhancement)

Improve query error handling

  • Created: 2011-11-22 22:56:26
  • Reported by: Franz
  • Assigned to: Franz
  • Milestone: 2.0-alpha1
  • Component: database
  • Priority: normal

Currently, we catch all exceptions that can happen inside one of the query runner functions. That is obviously not ideal, as errors are hard to debug.

We need to decide whether there is any downside to not catching PDOException exceptions in the query functions already.

History

Franz 2012-02-13 16:05:27

We'll go with the exceptions now.

Franz 2012-02-13 17:11:33

Commit d0ec080 to database master

#542: Allow PDOException to get through for all query types.

Franz 2012-02-13 17:25:50

Commit de83012 to database master

#542: Fix return values of queries that don't have any logical results.

Franz 2012-02-13 17:26:16

Commit 96dcdba to database master

#542: Adapt unit tests (no return values anymore).

Franz 2012-02-13 17:32:15

  • Status changed from open to fixed.