You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Config sources that encounter errors (e.g., malformed JSON) now:
- Re-throw after logging at trace level
- Get caught by resolver which creates SOURCE_ERROR warning
- Warnings are logged at warn level in CLI
This helps users identify configuration problems without blocking
execution.
Surface config source errors as warnings. When a config source (like dw.json) has malformed content, the error is now displayed as a warning instead of being silently ignored.
const config =JSON.parse(content); // Throws if malformed
226
+
227
+
return { config, location: configPath };
228
+
}
229
+
```
230
+
231
+
When a source throws, the CLI displays a warning and continues with other sources. This helps users identify configuration problems without blocking execution.
232
+
208
233
### Plugin Configuration
209
234
210
235
Plugins cannot add flags to commands they don't own (this is an oclif limitation). Instead, plugins should accept configuration via environment variables:
0 commit comments