mirror of
https://github.com/hcengineering/platform.git
synced 2025-01-05 19:17:23 +03:00
Improve ws upgrade logging (#6967)
Signed-off-by: Alexey Zinoviev <alexey.zinoviev@xored.com>
This commit is contained in:
parent
2ae1b6d4e0
commit
7d91ffee77
@ -1290,7 +1290,8 @@ export async function getPendingWorkspace (
|
|||||||
workspaceName: result.workspaceName,
|
workspaceName: result.workspaceName,
|
||||||
operation,
|
operation,
|
||||||
region,
|
region,
|
||||||
version
|
workspaceVersion: result.version,
|
||||||
|
requestedVersion: version
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -232,7 +232,8 @@ export class WorkspaceWorker {
|
|||||||
|
|
||||||
ctx.info('---UPGRADING----', {
|
ctx.info('---UPGRADING----', {
|
||||||
workspace: ws.workspace,
|
workspace: ws.workspace,
|
||||||
version: this.version,
|
workspaceVersion: ws.version,
|
||||||
|
requestedVersion: this.version,
|
||||||
region: this.region
|
region: this.region
|
||||||
})
|
})
|
||||||
|
|
||||||
@ -263,7 +264,8 @@ export class WorkspaceWorker {
|
|||||||
)
|
)
|
||||||
ctx.info('---UPGRADE-DONE---------', {
|
ctx.info('---UPGRADE-DONE---------', {
|
||||||
workspace: ws.workspace,
|
workspace: ws.workspace,
|
||||||
version: this.version,
|
oldWorkspaceVersion: ws.version,
|
||||||
|
requestedVersion: this.version,
|
||||||
region: this.region,
|
region: this.region,
|
||||||
time: Date.now() - t
|
time: Date.now() - t
|
||||||
})
|
})
|
||||||
@ -278,7 +280,8 @@ export class WorkspaceWorker {
|
|||||||
|
|
||||||
ctx.error('---UPGRADE-FAILED---------', {
|
ctx.error('---UPGRADE-FAILED---------', {
|
||||||
workspace: ws.workspace,
|
workspace: ws.workspace,
|
||||||
version: this.version,
|
oldWorkspaceVersion: ws.version,
|
||||||
|
requestedVersion: this.version,
|
||||||
region: this.region,
|
region: this.region,
|
||||||
time: Date.now() - t
|
time: Date.now() - t
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user