MOB-2149: Handle SQL Errors generated from new knex