diff --git a/package-lock.json b/package-lock.json index 2adcb7d..c6768d5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "lhisp-oauth-client", - "version": "1.0.10", + "version": "1.0.11", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "lhisp-oauth-client", - "version": "1.0.10", + "version": "1.0.11", "license": "MIT", "dependencies": { "axios": "^1.4.0", diff --git a/package.json b/package.json index da58322..f6972cb 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "lhisp-oauth-client", - "version": "1.0.10", + "version": "1.0.11", "main": "src/index", "types": "src/index.d.ts", "repository": "git@bitbucket.org:leandro_costa/lhisp-oauth-client.git", diff --git a/src/lhisp-oauth-client.ts b/src/lhisp-oauth-client.ts index fd81c8a..f7f0e9e 100644 --- a/src/lhisp-oauth-client.ts +++ b/src/lhisp-oauth-client.ts @@ -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; } }