Hotfix, wrapped database errors in custom error to avoid leak to user