.......... [ZBXNEXT-686] implemented better error reporting for database operations