refactor: logando a url
This commit is contained in:
parent
51a37553da
commit
dc1d3ea5bb
1 changed files with 9 additions and 1 deletions
|
@ -164,7 +164,15 @@ export class LhispOauthClient {
|
||||||
|
|
||||||
return response.data;
|
return response.data;
|
||||||
} catch (error) {
|
} 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;
|
throw error;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue