Skip to content
This repository has been archived by the owner on Nov 6, 2023. It is now read-only.

Commit

Permalink
Merge pull request #52 from jvdcf/hotfix
Browse files Browse the repository at this point in the history
remove() displays an error when given a wrong UC
  • Loading branch information
guilherme-ds-matos authored Nov 3, 2023
2 parents 9af1fdb + 71938f5 commit c273543
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Runtime.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -408,6 +408,8 @@ void Runtime::handle_process(Process p) {
return;
}
}
std::cerr << "ERROR: Student " << student_code
<< " is not enrolled in " << ops[1] << std::endl;
} else {
std::cerr << "ERROR: There is no such student with code: " << student_code
<< std::endl;
Expand Down

0 comments on commit c273543

Please sign in to comment.