From 8f4de1b8a8c6de2041638ea06928fc420c981919 Mon Sep 17 00:00:00 2001 From: Vadim Kibana <82822460+vadimkibana@users.noreply.github.com> Date: Mon, 14 Feb 2022 10:33:32 +0100 Subject: [PATCH] Make embeddable example plugin not fail for read-only user (#125459) * wrap write operation in try-catch block * add space --- examples/embeddable_explorer/public/plugin.tsx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/examples/embeddable_explorer/public/plugin.tsx b/examples/embeddable_explorer/public/plugin.tsx index 55c2a215e436d..ea8c412e443ee 100644 --- a/examples/embeddable_explorer/public/plugin.tsx +++ b/examples/embeddable_explorer/public/plugin.tsx @@ -34,7 +34,12 @@ export class EmbeddableExplorerPlugin implements Plugin