scripts/install.py

branch
eric7
changeset 9679
22314ef6d754
parent 9674
43dd357b3bff
child 9680
4acdf7c7101d
diff -r 32ddecc54baf -r 22314ef6d754 scripts/install.py
--- a/scripts/install.py	Fri Jan 06 14:45:32 2023 +0100
+++ b/scripts/install.py	Fri Jan 06 18:02:02 2023 +0100
@@ -2160,7 +2160,13 @@
                             " incorrect. Aborting".format(arg)
                         )
                         exit(6)
-                except Exception:
+                except Exception as exc:
+                    print(
+                        "The configuration file '{0}' is not valid Python source."
+                        " It will be ignored. Installation will be performed with"
+                        " defaults.".format(arg)
+                    )
+                    print("ERROR: {0}".format(str(exc)))
                     cfg = {}
         elif opt == "-m":
             macAppBundleName = arg

eric ide

mercurial