summaryrefslogtreecommitdiff
path: root/src/ngspice_ghdl.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/ngspice_ghdl.py')
-rwxr-xr-xsrc/ngspice_ghdl.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ngspice_ghdl.py b/src/ngspice_ghdl.py
index 0a9e88c..0bb15a4 100755
--- a/src/ngspice_ghdl.py
+++ b/src/ngspice_ghdl.py
@@ -277,8 +277,8 @@ class Mainwindow(QtGui.QWidget):
self.runMakeInstall()
else:
QtGui.QMessageBox.about(self,'Message','''<b>Important Message.</b><br/><br/>This accepts only <b>.vhdl</b> file ''')
- except:
- QtGui.QMessageBox.about(self, 'Message','''<b>Error</b><br/><br/> select a <b>.vhdl</b> file ''')
+ except Exception as e:
+ QtGui.QMessageBox.about(self, 'Message','''<b>Error</b><br/><br/> ''' + str(e))
class FileRemover(QtGui.QWidget):