We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c0747ea commit 24fbfb2Copy full SHA for 24fbfb2
src/lib/loadPlugin.js
@@ -12,7 +12,7 @@ export default async function loadPlugin(pluginId, justInstalled = false) {
12
const $script = <script src={Url.join(baseUrl, "main.js")}></script>;
13
14
$script.onerror = (error) => {
15
- reject(new Error(`Failed to load script for plugin ${pluginId}`));
+ reject(new Error(`Failed to load script for plugin ${pluginId}: ${error.message || error}`));
16
};
17
18
$script.onload = async () => {
0 commit comments