Do not show raw error in the fatal error modal

This commit is contained in:
Gabe Kangas
2022-10-08 23:15:38 -07:00
parent 270c26c3a8
commit 9c1fac7468

View File

@@ -240,7 +240,7 @@ export const ClientConfigStore: FC = () => {
sendEvent(AppStateEvent.Fail);
setGlobalFatalError(
'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}`);
}