don't throw here

This commit is contained in:
Bruno Windels 2020-03-25 13:07:07 +01:00
parent 7d4e498257
commit 792a7b3953

View File

@ -190,7 +190,7 @@ export default class SetupEncryptionBody extends React.Component {
const Spinner = sdk.getComponent('views.elements.Spinner'); const Spinner = sdk.getComponent('views.elements.Spinner');
return <Spinner />; return <Spinner />;
} else { } else {
throw new Error(`Unknown phase ${phase}`); console.log(`SetupEncryptionBody: Unknown phase ${phase}`);
} }
} }
} }