[pitivi: 2/14] action: print a slightly more useful debug message



commit 1849511e77f36bafc585ccdf18d2a0c4ff1f62d3
Author: Alessandro Decina <alessandro d gmail com>
Date:   Mon Sep 27 17:27:58 2010 +0200

    action: print a slightly more useful debug message

 pitivi/action.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/pitivi/action.py b/pitivi/action.py
index 5f488d5..e93bf6b 100644
--- a/pitivi/action.py
+++ b/pitivi/action.py
@@ -603,9 +603,9 @@ class Action(Signallable, Loggable):
             tee = self.pipeline.getTeeForFactoryStream(producer, prodstream,
                                                      automake=True)
 
-        except PipelineError:
+        except PipelineError, e:
             if init != True:
-                self.debug("Could not create link")
+                self.debug("Could not create link %s" % e)
                 return False
 
             self.debug("Stream will be created dynamically")



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]