fix query over live error - getQueryData should wait for centrifuge to initialize (#43880)

This commit is contained in:
Artur Wierzbicki
2022-01-11 10:07:08 +04:00
committed by GitHub
parent 6b70e1af76
commit 3ca3b7f432
2 changed files with 5 additions and 1 deletions

View File

@@ -143,7 +143,8 @@ export function runRequest(
}),
// handle errors
catchError((err) => {
console.error('runRequest.catchError', err);
const errLog = typeof err === 'string' ? err : JSON.stringify(err);
console.error('runRequest.catchError', errLog);
return of({
...state.panelData,
state: LoadingState.Error,