Remove unnecessary StackTrace from error output