mirror of
https://github.com/hcengineering/platform.git
synced 2025-04-13 03:40:48 +00:00
fix: get rid of sentry error and extra logging (#7050)
Signed-off-by: Alexander Onnikov <Alexander.Onnikov@xored.com>
This commit is contained in:
parent
84ab130470
commit
a2f9eb4990
@ -294,7 +294,7 @@ async function migrateDocSections (client: MigrationClient): Promise<void> {
|
||||
try {
|
||||
const ydoc = await loadCollaborativeDoc(ctx, storage, client.workspaceId, document.content)
|
||||
if (ydoc === undefined) {
|
||||
ctx.error('collaborative document content not found', { document: document.title })
|
||||
// no content, ignore
|
||||
continue
|
||||
}
|
||||
|
||||
|
@ -336,7 +336,7 @@ export function getTextPresenter (_class: Ref<Class<Doc>>, hierarchy: Hierarchy)
|
||||
}
|
||||
|
||||
async function getSenderName (control: TriggerControl, sender: SenderInfo): Promise<string> {
|
||||
if (sender._id === core.account.System) {
|
||||
if (sender._id === core.account.System || sender._id === core.account.ConfigUser) {
|
||||
return await translate(core.string.System, {})
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user