mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-17 05:55:00 +08:00
don't throw here
This commit is contained in:
parent
7d4e498257
commit
792a7b3953
@ -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}`);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user