Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[roswtf] Better msg replacement for 'No package or stack in context'. #1505

Merged
merged 1 commit into from
Sep 17, 2018

Conversation

130s
Copy link
Member

@130s 130s commented Sep 16, 2018

When there's no ROS pkg is found on the current directory when roswtf is run, a message No package or stack in context appears. This message is not useful IMO because what "context" means is unclear and is not something clearly explained anywhere in ROS documents.

This PR suggests clearer message.

How to reproduce the behavior

$ cd ~
$ roswtf
:
No package or stack in context
:

$ rosversion roswtf
1.12.14

When there's no ROS pkg is found on the current directory when `roswtf` is run, a message `No package or stack in context` appears. This message is not useful IMO because "context" is unclear.

This PR suggests clearer message.

**How to reproduce the behavior**
```
$ cd ~
$ roswtf
:
No package or stack in context
:

$ rosversion roswtf
1.12.14
```
@dirk-thomas
Copy link
Member

Thanks for the improvement.

@dirk-thomas dirk-thomas merged commit a925610 into ros:melodic-devel Sep 17, 2018
@130s 130s deleted the wtf_bettermsg_context/melodic branch September 17, 2018 05:25
tahsinkose pushed a commit to tahsinkose/ros_comm that referenced this pull request Apr 15, 2019
…ros#1505)

When there's no ROS pkg is found on the current directory when `roswtf` is run, a message `No package or stack in context` appears. This message is not useful IMO because "context" is unclear.

This PR suggests clearer message.

**How to reproduce the behavior**
```
$ cd ~
$ roswtf
:
No package or stack in context
:

$ rosversion roswtf
1.12.14
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants