refactor: logando a url

This commit is contained in:
Leandro Costa 2023-06-15 15:53:33 -03:00
parent 51a37553da
commit dc1d3ea5bb

View file

@ -164,7 +164,15 @@ export class LhispOauthClient {
return response.data;
} catch (error) {
logger.error({ message: "LhispOauthClient.executarRequest", method, path, data, params, contentType, error });
logger.error({
message: "LhispOauthClient.executarRequest",
method,
url: `${this.apiUrl}${path}`,
data,
params,
contentType,
error,
});
throw error;
}
}