BackgroundClient: little improvement to report back the issue for an ImportError.

Tue, 27 Apr 2021 17:42:00 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Tue, 27 Apr 2021 17:42:00 +0200
changeset 8267
6baca884c73a
parent 8266
560547c2b6ec
child 8268
6b8128e0c9d1

BackgroundClient: little improvement to report back the issue for an ImportError.

eric6/Utilities/BackgroundClient.py file | annotate | diff | comparison | revisions
--- a/eric6/Utilities/BackgroundClient.py	Tue Apr 27 17:25:30 2021 +0200
+++ b/eric6/Utilities/BackgroundClient.py	Tue Apr 27 17:42:00 2021 +0200
@@ -66,8 +66,8 @@
                     importedModule.initBatchService()
                 )
             return 'ok'
-        except ImportError:
-            return 'Import Error'
+        except ImportError as err:
+            return 'Import Error: ' + str(err)
         except Exception as err:
             return str(err)
 

eric ide

mercurial