Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit3d47c68

Browse files
committed
Make action failures errors
Otherwise they will not surface to the user (as an error bubble at thebottom).
1 parent6698311 commit3d47c68

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

‎src/main/kotlin/com/coder/gateway/views/steps/CoderWorkspacesStepView.kt‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ class CoderWorkspacesStepView(
284284
it.startWorkspace(workspace)
285285
loadWorkspaces()
286286
}catch (e:WorkspaceResponseException) {
287-
logger.warn("Could notbuild workspace${workspace.name}, reason:$e")
287+
logger.error("Could notstart workspace${workspace.name}, reason:$e")
288288
}
289289
}
290290
}
@@ -345,9 +345,9 @@ class CoderWorkspacesStepView(
345345
loadWorkspaces()
346346
}
347347
}catch (e:WorkspaceResponseException) {
348-
logger.warn("Could not update workspace${workspace.name}, reason:$e")
348+
logger.error("Could not update workspace${workspace.name}, reason:$e")
349349
}catch (e:TemplateResponseException) {
350-
logger.warn("Could not update workspace${workspace.name}, reason:$e")
350+
logger.error("Could not update workspace${workspace.name}, reason:$e")
351351
}
352352
}
353353
}
@@ -369,7 +369,7 @@ class CoderWorkspacesStepView(
369369
it.stopWorkspace(workspace)
370370
loadWorkspaces()
371371
}catch (e:WorkspaceResponseException) {
372-
logger.warn("Could not stop workspace${workspace.name}, reason:$e")
372+
logger.error("Could not stop workspace${workspace.name}, reason:$e")
373373
}
374374
}
375375
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp