DBError: log database errors

https://wikia-inc.atlassian.net/browse/MAIN-2304

@Wikia/platform-team