Clear last_error after reported