Skip to content

Commit

Permalink
Better error message
Browse files Browse the repository at this point in the history
  • Loading branch information
Luuk committed Jun 18, 2024
1 parent 0770b20 commit faa4e53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion roboteam_ai/src/stp/Tactic.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Status Tactic::update(StpInfo const &info) noexcept {

(void)status; // return of update is never used, but it is marked [[no-discard]] in the state machine. This cast suppresses that warning.
} else {
RTT_ERROR(getName(), "Not all data was present, bad update!")
RTT_ERROR(info.getRobot()->get()->getId(), " Not all data was present, bad update!")
return Status::Failure;
}

Expand Down

0 comments on commit faa4e53

Please sign in to comment.