Added better error message. not much else can be done
This commit is contained in:
parent
e434af368f
commit
17087fc035
|
@ -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…
Reference in New Issue