renamed files used at runtime (see post-install script in specfile)
[nodemanager.git] / nm.py
diff --git a/nm.py b/nm.py
index f421769..30ee0b7 100755 (executable)
--- a/nm.py
+++ b/nm.py
@@ -188,10 +188,12 @@ def run():
         logger.log("nm: Checking Auth.")
         while plc.check_authentication() != True:
             try:
+#                import pdb
+#               pdb.set_trace()
                 plc.update_session()
                 logger.log("nm: Authentication Failure. Retrying")
-            except:
-                logger.log("nm: Retry Failed. Waiting")
+            except Exception,e:
+                logger.log("nm: Retry Failed. (%r); Waiting.."%e)
             time.sleep(iperiod)
         logger.log("nm: Authentication Succeeded!")