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 14e5406 commit 3511605Copy full SHA for 3511605
src/Config.js
@@ -65,7 +65,11 @@ export class Config {
65
await Promise.all(
66
asyncKeys.map(async key => {
67
if (typeof this[`_${key}`] === 'function') {
68
- this[key] = await this[`_${key}`]();
+ try {
69
+ this[key] = await this[`_${key}`]();
70
+ } catch (error) {
71
+ throw new Error(`Failed to resolve async config key '${key}': ${error.message}`);
72
+ }
73
}
74
})
75
);
0 commit comments