Added better error message. not much else can be done
This commit is contained in:
parent
e434af368f
commit
17087fc035
1 changed files with 2 additions and 0 deletions
|
@ -168,6 +168,8 @@ def WatchAddAction(option, opt, value, parser):
|
|||
print "%s added to watched folder list successfully" % path
|
||||
else:
|
||||
print "Adding a watched folder failed: %s" % res['msg']['error']
|
||||
print "This error most likely caused by wrong permissions"
|
||||
print "Try fixing this error by chmodding the parent directory(ies)"
|
||||
else:
|
||||
print "Given path is not a directory: %s" % path
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue