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

User-friendly presentation of exceptions in seash #67

Closed
choksi81 opened this issue May 30, 2014 · 1 comment
Closed

User-friendly presentation of exceptions in seash #67

choksi81 opened this issue May 30, 2014 · 1 comment

Comments

@choksi81
Copy link
Contributor

A Sensibility Testbed user reports having seen this traceback:

ajksdf@ !> contact 10.2.2.193:1224
Traceback (most recent call last):
  File "seash.py", line 267, in command_loop
  File "/Users/justincappos/Downloads/sensor/seattle_demokit/seash_dictionary.py", line 2109, in command_dispatch
  File "/Users/justincappos/Downloads/sensor/seattle_demokit/command_callbacks.py", line 977, in contact
  File "/Users/justincappos/Downloads/sensor/seattle_demokit/nmclient", line 238, in nmclient_createhandle
NMClientException: Timed-out connecting to the remote host!

The root cause left aside, we shouldn't present a raw traceback to the unsuspecting user. The last line should probably suffice so that the devels can locate where the problem arose (but see #1289 on unique exception messages!).

@choksi81 choksi81 self-assigned this May 30, 2014
@aaaaalbert
Copy link
Contributor

Superseded by #84.

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

No branches or pull requests

2 participants