Skip to content

Commit 77f404a

Browse files
Add more detailed error information to InitStageException::what() to show it types
1 parent 369cc97 commit 77f404a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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 = "Error initializing stage(s). ROS_ERROR_STREAM(e) for details. The error type is moveit::task_constructor::InitStageException.";
8989
return msg;
9090
}
9191

0 commit comments

Comments
 (0)