mirror of
https://github.com/hcengineering/platform.git
synced 2024-12-31 23:46:12 +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,
|
||||
operation,
|
||||
region,
|
||||
version
|
||||
workspaceVersion: result.version,
|
||||
requestedVersion: version
|
||||
})
|
||||
}
|
||||
|
||||
|
@ -232,7 +232,8 @@ export class WorkspaceWorker {
|
||||
|
||||
ctx.info('---UPGRADING----', {
|
||||
workspace: ws.workspace,
|
||||
version: this.version,
|
||||
workspaceVersion: ws.version,
|
||||
requestedVersion: this.version,
|
||||
region: this.region
|
||||
})
|
||||
|
||||
@ -263,7 +264,8 @@ export class WorkspaceWorker {
|
||||
)
|
||||
ctx.info('---UPGRADE-DONE---------', {
|
||||
workspace: ws.workspace,
|
||||
version: this.version,
|
||||
oldWorkspaceVersion: ws.version,
|
||||
requestedVersion: this.version,
|
||||
region: this.region,
|
||||
time: Date.now() - t
|
||||
})
|
||||
@ -278,7 +280,8 @@ export class WorkspaceWorker {
|
||||
|
||||
ctx.error('---UPGRADE-FAILED---------', {
|
||||
workspace: ws.workspace,
|
||||
version: this.version,
|
||||
oldWorkspaceVersion: ws.version,
|
||||
requestedVersion: this.version,
|
||||
region: this.region,
|
||||
time: Date.now() - t
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user