Skip to content

Commit 884844b

Browse files
Mention InitStageException's type in its what() method (#738)
Co-authored-by: Robert Haschke <rhaschke@users.noreply.github.com>
1 parent 369cc97 commit 884844b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

core/src/stage.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ void InitStageException::append(InitStageException& other) {
8585
}
8686

8787
const char* InitStageException::what() const noexcept {
88-
static const char* msg = "Error initializing stage(s). ROS_ERROR_STREAM(e) for details.";
88+
static const char* msg = "mtc::InitStageException. Use ROS_ERROR_STREAM(exc) for details.";
8989
return msg;
9090
}
9191

0 commit comments

Comments
 (0)