Revised autograder stacktrace printing when error occurs