Use report_error so Potlatch can see the errors