Honorably
What it means
In a principled, fair, and respectable manner.
Reach for it when praising ethical conduct especially when an easier self-serving choice was available
The captain acted honorably by reporting the error before it affected the result.