DBError: log database errors
Merge pull request #3801 from Wikia/log-database-errors

DBError: log database errors