Skip to content

Commit 9079590

Browse files
author
David Hasani
committed
add log
1 parent 766a1c3 commit 9079590

File tree

1 file changed

+1
-0
lines changed
  • plugins/amazonq/codetransform/jetbrains-community/src/software/aws/toolkits/jetbrains/services/codemodernizer/utils

1 file changed

+1
-0
lines changed

plugins/amazonq/codetransform/jetbrains-community/src/software/aws/toolkits/jetbrains/services/codemodernizer/utils/CodeTransformApiUtils.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,7 @@ suspend fun JobId.pollTransformationStatusAndPlan(
154154
}
155155
}
156156
} catch (e: Exception) {
157+
getLogger<CodeModernizerManager>().error(e) { "Error when polling for job status & plan" }
157158
// Still call onStateChange to update the UI
158159
onStateChange(state, TransformationStatus.FAILED, transformationPlan)
159160
when (e) {

0 commit comments

Comments
 (0)