fix log errors
while checking the end of the related ticket, few issues in the logs have been spotted:
Potential update to perform in DE, DLM, DV and SFS (PROXy, SHARE, CONFIG are not concerned):
const getResource = ({ /*appId,*/ configUrl }, options = {}) => path =>
axios
.get(getResourceUri(configUrl, path, options.base))
.then(({ data }) => data)
.catch(err => {
if (err.response && err.response.status === 404 && 'notFoundValue' in options) return options.notFoundValue;
if (err.response) throw new HTTPError(err.response.status, `Cannot get ${getResourceUri(configUrl, path, options.base)}`);
if (err.code === 'ECONNREFUSED') throw new HTTPError(503, `Cannot connect to ${configUrl}`);
throw err;
});
Edited by Nicolas Briemant