MOB-2149: Handle SQL Errors generated from new knex

Damn you, knex! :laughing: