From 95e8db9b3a09eb25d70a9e4119b6511f77942b17 Mon Sep 17 00:00:00 2001 From: Curry Yang <1019yanglu@gmail.com> Date: Mon, 23 Sep 2024 16:58:56 +0800 Subject: [PATCH] fix: reduce sentry error --- packages/insomnia/src/ui/components/rendered-query-string.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/insomnia/src/ui/components/rendered-query-string.tsx b/packages/insomnia/src/ui/components/rendered-query-string.tsx index 730213b5163..291e992c479 100644 --- a/packages/insomnia/src/ui/components/rendered-query-string.tsx +++ b/packages/insomnia/src/ui/components/rendered-query-string.tsx @@ -88,7 +88,7 @@ export const RenderedQueryString: FC = ({ request }) => { const encoded = smartEncodeUrl(fullUrl, request.settingEncodeUrl, { strictNullHandling: true }); setPreviewString(encoded === '' ? defaultPreview : encoded); } catch (error: unknown) { - console.error(error); + console.warn(error); setPreviewString(defaultPreview); } };