mirror of
https://github.com/Kong/insomnia.git
synced 2026-04-29 10:33:04 -04:00
fix: reduce sentry error (#7991)
This commit is contained in:
@@ -88,7 +88,7 @@ export const RenderedQueryString: FC<Props> = ({ request }) => {
|
||||
const encoded = smartEncodeUrl(fullUrl, request.settingEncodeUrl, { strictNullHandling: true });
|
||||
setPreviewString(encoded === '' ? defaultPreview : encoded);
|
||||
} catch (error: unknown) {
|
||||
console.error(error);
|
||||
console.warn(error);
|
||||
setPreviewString(defaultPreview);
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user