Skip to content
Snippets Groups Projects
Unverified Commit ff6a56bd authored by Howon Lee's avatar Howon Lee Committed by GitHub
Browse files

Make EE audit app frontend display error if queries fail

Currently it only displays JS errors. Now, it still displays JS errors first but if there's a query error and no JS error it'll display the query error
parent 60bc250f
No related branches found
No related tags found
No related merge requests found
......@@ -41,7 +41,7 @@ const QuestionLoadAndDisplay = ({
return (
<LoadingAndErrorWrapper
loading={shouldShowLoader}
error={error}
error={error || resultProps?.result?.error}
noWrapper
>
<Visualization {...props} {...resultProps} />
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment