query: fix error reporting for _do_fsck_reset
commit3ff5eec5ed5e0ecb34be13ed5835678aba920670
authorEric Wong <normalperson@yhbt.net>
Thu, 17 Jan 2013 07:29:58 +0000 (17 07:29 +0000)
committerEric Wong <normalperson@yhbt.net>
Thu, 17 Jan 2013 07:43:46 +0000 (17 07:43 +0000)
treefc4028c2ce18ffccd557eda114cbbbe4a3cd2228
parenteee892b4512c4984154f735f8d6bf7581654fcc9
query: fix error reporting for _do_fsck_reset

Failed set_server_settings calls just die with errors, so we
need to track and log that to syslog.  We'll also report we had
a database error back to the client (but avoid propagating the
exact error message, in case there is any sensitive
information).
lib/MogileFS/Worker/Query.pm