We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c25c1e6 commit ee8543bCopy full SHA for ee8543b
packages/hadron-plugin-manager/lib/plugin-manager.js
@@ -65,12 +65,21 @@ class PluginManager {
65
})
66
);
67
} catch (e) {
68
- log.warn(
69
- mongoLogId(1_001_000_142),
70
- 'Hadron Plugin Manager',
71
- 'Failed to load plugins',
72
- { path: userPluginPath, message: e.message }
73
- );
+ if (e?.code === 'ENOENT') {
+ log.info(
+ mongoLogId(1_001_000_237),
+ 'Hadron Plugin Manager',
+ 'Plugin folder does not exist, no plugins loaded.',
+ { path: userPluginPath }
74
+ );
75
+ } else {
76
+ log.warn(
77
+ mongoLogId(1_001_000_142),
78
79
+ 'Failed to load plugins',
80
+ { path: userPluginPath, message: e.message }
81
82
+ }
83
}
84
return [];
85
0 commit comments