So I suppose your mistake is not completely without virtue.
Although you made a mistake it was still slightly honorable.