mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-10 03:37:43 +02:00
qfix: Rework span creation (#9613)
Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
This commit is contained in:
@@ -271,7 +271,7 @@ export abstract class IssueSyncManagerBase {
|
||||
): Promise<DocumentUpdate<DocSyncInfo>> {
|
||||
let needUpdate = false
|
||||
if (!this.client.getHierarchy().hasMixin(existing, github.mixin.GithubIssue)) {
|
||||
await this.ctx.withLog(
|
||||
await this.ctx.with(
|
||||
'create mixin issue: GithubIssue',
|
||||
{},
|
||||
async () => {
|
||||
@@ -288,7 +288,8 @@ export abstract class IssueSyncManagerBase {
|
||||
)
|
||||
await this.notifyConnected(container, info, existing, issueExternal)
|
||||
},
|
||||
{ identifier: existing.identifier, url: issueExternal.url }
|
||||
{ identifier: existing.identifier, url: issueExternal.url },
|
||||
{ log: true }
|
||||
)
|
||||
// Re iterate to have existing value with mixin inside.
|
||||
needUpdate = true
|
||||
|
||||
Reference in New Issue
Block a user