Ensure we always have a $last_error after a failure.
Do another version.