fixup 'improve error message in case of an invalid unittype in [side]'

This commit is contained in:
gfgtdf 2016-10-21 23:11:08 +02:00 committed by GitHub
parent 2f6bb71b82
commit 15afec7202

View file

@ -287,7 +287,7 @@ protected:
uc.add_unit(*u);
}
catch (const unit_type::error& e) {
ERR_NG_TC << e << "\n";
ERR_NG_TC << e.what() << "\n";
}
}
}