From cc0de5e03c22a8c5996cd07f2e4d234a817fb885 Mon Sep 17 00:00:00 2001 From: Paulo Gustavo Veiga Date: Tue, 8 Mar 2022 11:03:45 -0800 Subject: [PATCH] Improve message. --- packages/webapp/src/components/editor-page/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/webapp/src/components/editor-page/index.tsx b/packages/webapp/src/components/editor-page/index.tsx index c21dac84..c3a1b00d 100644 --- a/packages/webapp/src/components/editor-page/index.tsx +++ b/packages/webapp/src/components/editor-page/index.tsx @@ -36,7 +36,7 @@ const EditorPage = ({ isTryMode }: EditorPropsType): React.ReactElement => { const fetchResult = fetchMapById(mapId); if (!fetchResult.isLoading) { if (fetchResult.error) { - throw new Error(`User could not be loaded: ${JSON.stringify(fetchResult)}`); + throw new Error(`Map information could not be loaded: ${JSON.stringify(fetchResult)}`); } result = fetchResult?.map?.role === 'owner' ? 'edition-owner' : 'edition-editor'; }