db::error now triggers error rather than dieting