Gentoo Archives: gentoo-commits

From: Brian Dolbec <dolsen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/catalyst:master commit in: catalyst/base/
Date: Thu, 26 Feb 2015 22:18:44
Message-Id: 1424981097.a8d406680bb626105407d66905bb8de82349fa03.dolsen@gentoo
1 commit: a8d406680bb626105407d66905bb8de82349fa03
2 Author: Brian Dolbec <dolsen <AT> gentoo <DOT> org>
3 AuthorDate: Tue Dec 31 09:00:16 2013 +0000
4 Commit: Brian Dolbec <dolsen <AT> gentoo <DOT> org>
5 CommitDate: Thu Feb 26 20:04:57 2015 +0000
6 URL: http://sources.gentoo.org/gitweb/?p=proj/catalyst.git;a=commit;h=a8d40668
7
8 Report the task exception that occurred.
9
10 ---
11 catalyst/base/stagebase.py | 5 +++--
12 1 file changed, 3 insertions(+), 2 deletions(-)
13
14 diff --git a/catalyst/base/stagebase.py b/catalyst/base/stagebase.py
15 index 7395351..1b09935 100644
16 --- a/catalyst/base/stagebase.py
17 +++ b/catalyst/base/stagebase.py
18 @@ -1332,9 +1332,10 @@ class StageBase(TargetBase, ClearBase, GenBase):
19 sys.stdout.flush()
20 try:
21 apply(getattr(self,x))
22 - except:
23 + except Exception as e:
24 + print "--- Exeption running action sequence:" + x
25 self.mount_safety_check()
26 - raise
27 + raise e
28
29 self.chroot_lock.unlock()