Skip to content

Commit

Permalink
Fixed #51 Added helpful status message when user kills running process
Browse files Browse the repository at this point in the history
  • Loading branch information
TheFriendlyCoder committed Apr 17, 2018
1 parent 671c3a7 commit d908cee
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/friendlypins/scripts/fpins.py
Expand Up @@ -174,6 +174,9 @@ def main(args=None):
if retval == 0:
log.info("Operation completed successfully!")
return retval
except KeyboardInterrupt:
log.info("Process terminated...")
return 0
except Exception: # pylint: disable=broad-except
log.error("Critical error processing command")
log.error("See verbose output for details")
Expand Down

0 comments on commit d908cee

Please sign in to comment.