summaryrefslogtreecommitdiffstats
path: root/anaconda
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>2001-12-13 02:17:08 +0000
committerMatt Wilson <msw@redhat.com>2001-12-13 02:17:08 +0000
commit70cddbb94c7df52c60660da2919d6ee18192b869 (patch)
tree21d3e0521e7cd8f9a596f03910ca544a84035c69 /anaconda
parent509ffea2f75dc8968256f11a8b107c8b09c1ff41 (diff)
downloadanaconda-70cddbb94c7df52c60660da2919d6ee18192b869.tar.gz
anaconda-70cddbb94c7df52c60660da2919d6ee18192b869.tar.xz
anaconda-70cddbb94c7df52c60660da2919d6ee18192b869.zip
use the new exception hook for handle all exceptions when they happen
Diffstat (limited to 'anaconda')
-rwxr-xr-xanaconda3
1 files changed, 3 insertions, 0 deletions
diff --git a/anaconda b/anaconda
index 4e783781a..454df636f 100755
--- a/anaconda
+++ b/anaconda
@@ -617,6 +617,9 @@ instClass.setSteps(dispatch)
# instClass.addToSkipList("mouse")
# instClass.setMouseType("Sun - Mouse", "sunmouse")
+# comment out the next line to make exceptions non-fatal
+sys.excepthook = lambda type, value, tb, dispatch=dispatch, intf=intf: handleException(dispatch, intf, (type, value, tb))
+
try:
intf.run(id, dispatch, configFileData)
except SystemExit, code: