@karmaniverous/get-dotenv 2.0.1 → 2.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -89,7 +89,7 @@ const getDotenv = async function () {
|
|
|
89
89
|
} catch ({
|
|
90
90
|
message
|
|
91
91
|
}) {
|
|
92
|
-
throw new Error(`Dynamic processing failed for variable '${key}'
|
|
92
|
+
throw new Error(`Dynamic processing failed for variable '${key}'. ${message}`);
|
|
93
93
|
}
|
|
94
94
|
});
|
|
95
95
|
}
|
|
@@ -98,7 +98,7 @@ export const getDotenv = async ({
|
|
|
98
98
|
Object.assign(dotenv, { [key]: dynamic[key](dotenv) });
|
|
99
99
|
} catch ({ message }) {
|
|
100
100
|
throw new Error(
|
|
101
|
-
`Dynamic processing failed for variable '${key}'
|
|
101
|
+
`Dynamic processing failed for variable '${key}'. ${message}`
|
|
102
102
|
);
|
|
103
103
|
}
|
|
104
104
|
});
|