mirror of
https://github.com/owncast/owncast.git
synced 2024-10-10 19:16:02 +00:00
Do not show raw error in the fatal error modal
This commit is contained in:
parent
270c26c3a8
commit
9c1fac7468
@ -240,7 +240,7 @@ export const ClientConfigStore: FC = () => {
|
|||||||
sendEvent(AppStateEvent.Fail);
|
sendEvent(AppStateEvent.Fail);
|
||||||
setGlobalFatalError(
|
setGlobalFatalError(
|
||||||
'Unable to reach Owncast server',
|
'Unable to reach Owncast server',
|
||||||
`Owncast cannot launch. Please make sure the Owncast server is running. ${error}`,
|
`Owncast cannot launch. Please make sure the Owncast server is running.`,
|
||||||
);
|
);
|
||||||
console.error(`serverStatusState -> getStatus() ERROR: \n${error}`);
|
console.error(`serverStatusState -> getStatus() ERROR: \n${error}`);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user