From 7f6c4545a292aa8384ec881692b9745f625eb776 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vin=C3=ADcius=20Seixas?= Date: Mon, 3 Jun 2024 17:14:24 -0300 Subject: [PATCH] fix lint --- src/HttpClient/middlewares/cache.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/HttpClient/middlewares/cache.ts b/src/HttpClient/middlewares/cache.ts index 835c7b5a..30a34b78 100644 --- a/src/HttpClient/middlewares/cache.ts +++ b/src/HttpClient/middlewares/cache.ts @@ -248,10 +248,10 @@ export const cacheMiddleware = ({ type, storage, asyncSet }: CacheOptions) => { }) } } catch (error) { - ErrorReport.create({ originalError: error }).injectOnSpan(cacheWriteSpan) - logger?.warn({ message: 'Error writing to the HttpClient cache', error }) + ErrorReport.create({ originalError: error }).injectOnSpan(cacheWriteSpan) + logger?.warn({ message: 'Error writing to the HttpClient cache', error }) } finally { - cacheWriteSpan?.finish() + cacheWriteSpan?.finish() } return