rescue errors from sequel