]> git.mxchange.org Git - quix0rs-gnu-social.git/commit
Handle DB_DataObject errors better
authorEvan Prodromou <evan@controlyourself.ca>
Wed, 11 Feb 2009 19:45:06 +0000 (14:45 -0500)
committerEvan Prodromou <evan@controlyourself.ca>
Wed, 11 Feb 2009 19:45:06 +0000 (14:45 -0500)
commitb5cc7e4aabeddd08a27e02b2249ce86f92f96fac
treeeb3e1202b189e1dbb0c69d65a83fc8169f32d3e6
parent22b10399aaa97061ed940f92f5b15f6aacfb1093
Handle DB_DataObject errors better

We try to handle DB_DataObject errors a little bit better. Previously,
they just spit out a cryptic string to the browser with a suggestion
to turn on debugging (not a good idea!). So, we catch the error, write
the full error message to the log, and then tell users that the can
contact the admins if they need to.
index.php
lib/dberroraction.php [new file with mode: 0644]
lib/htmloutputter.php