Fix action tasks to report meaningful errors.