summaryrefslogtreecommitdiff
path: root/src/frontEnd/Application.py
diff options
context:
space:
mode:
authorrahulp132022-09-17 23:29:49 +0530
committerrahulp132022-09-17 23:29:49 +0530
commit73b784851e40ab6b607a70bf151fe2fa4443e218 (patch)
tree9ed3cd0765e85524e820590096bd7431b78db528 /src/frontEnd/Application.py
parent99c9974171f3bbbba0012a7a94648bfa00147be3 (diff)
downloadeSim-73b784851e40ab6b607a70bf151fe2fa4443e218.tar.gz
eSim-73b784851e40ab6b607a70bf151fe2fa4443e218.tar.bz2
eSim-73b784851e40ab6b607a70bf151fe2fa4443e218.zip
fix circuit component element out of range crash
Diffstat (limited to 'src/frontEnd/Application.py')
-rw-r--r--src/frontEnd/Application.py9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/frontEnd/Application.py b/src/frontEnd/Application.py
index d3ef020f..7588b1a1 100644
--- a/src/frontEnd/Application.py
+++ b/src/frontEnd/Application.py
@@ -10,11 +10,11 @@
# BUGS: ---
# NOTES: ---
# AUTHOR: Fahim Khan, fahim.elex@gmail.com
-# MODIFIED: Rahul Paknikar, rahulp@iitb.ac.in
+# MAINTAINED: Rahul Paknikar, rahulp@cse.iitb.ac.in
# Sumanto Kar, sumantokar@iitb.ac.in
# ORGANIZATION: eSim Team at FOSSEE, IIT Bombay
# CREATED: Tuesday 24 February 2015
-# REVISION: Monday 31 January 2022
+# REVISION: Tuesday 13 September 2022
# =========================================================================
import os
@@ -949,4 +949,7 @@ def main(args):
# Call main function
if __name__ == '__main__':
# Create and display the splash screen
- main(sys.argv)
+ try:
+ main(sys.argv)
+ except Exception as err:
+ print("Error: ", err)