π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
reenable addLogLine
Abhinav10937c9d5522
diff --git a/packages/shared/network/HTTPService.ts b/packages/shared/network/HTTPService.tsindex 8d8eb70b82..db3ab99987 100644--- a/packages/shared/network/HTTPService.ts+++ b/packages/shared/network/HTTPService.ts@@ -1,5 +1,5 @@import axios, { AxiosRequestConfig, AxiosResponse } from 'axios';-// import { addLogLine } from 'utils/logging';+import { addLogLine } from '@ente/shared/logging';import { logError } from '@ente/shared/sentry';import { ApiError, CustomError, isApiErrorResponse } from '../error';@@ -68,19 +68,19 @@ class HTTPService {// The request was made but no response was received// `error.request` is an instance of XMLHttpRequest in the browser and an instance of// http.ClientRequest in node.js- // addLogLine(- // 'request failed- no response',- // `url: ${config.url}`,- // `method: ${config.method}`- // );+ addLogLine(+ 'request failed- no response',+ `url: ${config.url}`,+ `method: ${config.method}`+ );return Promise.reject(error);} else {// Something happened in setting up the request that triggered an Error- // addLogLine(- // 'request failed- axios error',- // `url: ${config.url}`,- // `method: ${config.method}`- // );+ addLogLine(+ 'request failed- axios error',+ `url: ${config.url}`,+ `method: ${config.method}`+ );return Promise.reject(error);}}