Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

re-activated error catching

  • Loading branch information...
commit 7e44752c8e80b86f750dc5d733d06eaefa94e465 1 parent e3fb188
@ijiraq ijiraq authored
Showing with 4 additions and 6 deletions.
  1. +4 −6 vls
View
10 vls
@@ -123,13 +123,11 @@ formats={'permisions': lambda value: "%-11s" % (value),
for node in args:
if node[0:4]!="vos:":
parser.error("Improper vospace spefication: %s " % ( node))
- #try:
- if 1==1:
+ try:
infoList= vos.getNode(node,limit=500).getInfoList()
- #except Exception as e:
- # logging.debug("Error getting listing of %s: %s " % (node,str(e)))
- # sys.exit(str(e))
- # raise e
+ except Exception as e:
+ logging.error("Error getting listing of %s: %s " % (node,str(e)))
+ sys.exit(e)
if not len(infoList)>0:
#logging.critical("Failed to get listing for %s " % ( node ))
Please sign in to comment.
Something went wrong with that request. Please try again.