They were treated as doing wrong in the animated Star Wars: Forces of Destiny episode that dealt with it - Leia dissuades them and saves the captured Stormtroopers who are about to be killed.