merge rev17211 (Need to print the exception string as part of the self.log, or else... trellis trellis
authorS.Çağlar Onur <caglar@cs.princeton.edu>
Mon, 3 May 2010 19:47:00 +0000 (19:47 +0000)
committerS.Çağlar Onur <caglar@cs.princeton.edu>
Mon, 3 May 2010 19:47:00 +0000 (19:47 +0000)
python/vserver.py

index 3760a34..55d78f0 100644 (file)
@@ -185,7 +185,7 @@ class VServer:
                 vserverimpl.setrlimit(self.ctx, resource_type, hard, soft, min)
             except OSError, e:
                 self.log("Error: setrlimit(%d, %s, %d, %d, %d): %s"
-                         % (self.ctx, type.lower(), hard, soft, min))
+                         % (self.ctx, type.lower(), hard, soft, min, e))
 
         return update