1
0
mirror of https://github.com/sasjs/adapter.git synced 2026-01-08 13:00:05 +00:00

fix(lint): fixed code style

This commit is contained in:
Yury Shkoda
2021-03-09 09:44:10 +03:00
parent a977f59675
commit 9d27451813
4 changed files with 14 additions and 16 deletions

View File

@@ -97,9 +97,14 @@ export class RequestClient implements HttpClient {
})
.catch(async (e) => {
return await this.handleError(e, () =>
this.get<T>(url, accessToken, contentType, overrideHeaders).catch((err) => {
throw prefixMessage(err, 'Error while executing handle error callback. ')
})
this.get<T>(url, accessToken, contentType, overrideHeaders).catch(
(err) => {
throw prefixMessage(
err,
'Error while executing handle error callback. '
)
}
)
).catch((err) => {
throw prefixMessage(err, 'Error while handling error. ')
})