feat: add affine request error msg

This commit is contained in:
MingLiang Wang
2023-01-12 15:11:49 +08:00
parent 034e460701
commit 9ae9bb8092
9 changed files with 217 additions and 61 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ export class DataCenter {
private readonly _workspaceUnitCollection = new WorkspaceUnitCollection();
private readonly _logger = getLogger('dc');
private _workspaceInstances: Map<string, BlocksuiteWorkspace> = new Map();
private _messageCenter = new MessageCenter();
private _messageCenter = MessageCenter.getInstance();
/**
* A mainProvider must exist as the only data trustworthy source.
*/