Commit 8833762
committed
use: Improve module import error message
It could be that the module has syntax errors, or that it failed to
define or import all its necessary functions and variables, or that it
deliberately raised an error based on an error condition. It's better to
state plainly that the import failed, and permit the user to ascertain
the cause from the module's output, rather than making it sound like the
module script is broken.1 parent 4bb94e2 commit 8833762
2 files changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
93 | | - | |
| 93 | + | |
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
100 | | - | |
| 100 | + | |
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
81 | | - | |
| 81 | + | |
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
0 commit comments