We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The bug is in this file, but this row is included in the other adapters too: retryAdapterEnhancer.js:33
if (process.env.LOGGER_LEVEL === 'info') { console.info("[axios-extensions] request start retrying --> url: " + config.url + " , time: " + count); }
To fix it, I have to add the variable with Webpack: new DefinePlugin({ "process.env.LOGGER_LEVEL": JSON.stringify('info') });
new DefinePlugin({ "process.env.LOGGER_LEVEL": JSON.stringify('info') });
The solution should be to not rely on a process global variable, which is not defined in browsers, but on an adapter logger option.
The text was updated successfully, but these errors were encountered:
If you can't do that workaround, another solution would be to set:
window.process = { ...window.process, env: { LOGGER_LEVEL: "warn" } }; somewhere before calling the extension.
window.process = { ...window.process, env: { LOGGER_LEVEL: "warn" } };
Sorry, something went wrong.
No branches or pull requests
The bug is in this file, but this row is included in the other adapters too:
retryAdapterEnhancer.js:33
To fix it, I have to add the variable with Webpack:
new DefinePlugin({ "process.env.LOGGER_LEVEL": JSON.stringify('info') });
The solution should be to not rely on a process global variable, which is not defined in browsers, but on an adapter logger option.
The text was updated successfully, but these errors were encountered: