Skip to content

Commit

Permalink
Update x-pack/plugins/enterprise_search/public/applications/app_searc…
Browse files Browse the repository at this point in the history
…h/components/api_logs/utils.ts
  • Loading branch information
Constance authored Apr 2, 2021
1 parent 930df38 commit b04020a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export const getStatusColor = (status: number) => {
export const safeJsonParseAndStringify = (json: string) => {
try {
return JSON.stringify(JSON.parse(json), null, 2);
} catch (e) {
} catch {
return json;
}
};

0 comments on commit b04020a

Please sign in to comment.