Correctly handle any `UPDATE` errors to phandom invoices