chore: add enough message for assert
This commit is contained in:
1 parent
cd2495e4e0
commit
49a8be3ce6
1 file changed
+4
-1
@@ -111,7 +111,10 @@ export class AffineProvider extends BaseProvider {
|
||||
if (index !== -1) {
|
||||
removeWorkspaceList.splice(index, 1);
|
||||
}
|
||||
assert(name);
|
||||
assert(
|
||||
name,
|
||||
'workspace name not found by id when receive server message'
|
||||
);
|
||||
const workspace = {
|
||||
name: name,
|
||||
avatar,
|
||||
|
||||
Reference in new issue
Block a user