Skip to content

Commit

Permalink
fix: reduce sentry error (#7991)
Browse files Browse the repository at this point in the history
  • Loading branch information
CurryYangxx authored Sep 23, 2024
1 parent 6305433 commit fd7c76d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
};
Expand Down

0 comments on commit fd7c76d

Please sign in to comment.