include the exception string in the self.log
authorMarc Fiuczynski <mef@cs.princeton.edu>
Wed, 24 Feb 2010 16:53:39 +0000 (16:53 +0000)
committerMarc Fiuczynski <mef@cs.princeton.edu>
Wed, 24 Feb 2010 16:53:39 +0000 (16:53 +0000)
python/vserver.py

index 819fd31..44341a6 100644 (file)
@@ -207,7 +207,7 @@ class VServer:
                     resource.setrlimit(resource_type, lim)
             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