Skip to content

Commit e999995

Browse files
committed
More verbose messaging.
1 parent a6bd21a commit e999995

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

sdks/python/container/boot.go

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -268,9 +268,11 @@ func launchSDKProcess() error {
268268
// DoFns throwing exceptions.
269269
errorCount += 1
270270
if errorCount < 4 {
271-
log.Printf("Python (worker %v) exited: %v", workerId, err)
271+
log.Printf("Python (worker %v) exited %v times: %v\nrestarting SDK process",
272+
workerId, errorCount, err)
272273
} else {
273-
log.Fatalf("Python (worker %v) exited: %v", workerId, err)
274+
log.Fatalf("Python (worker %v) exited %v times: %v\nout of retries, failing container",
275+
workerId, errorCount, err)
274276
}
275277
} else {
276278
log.Printf("Python (worker %v) exited.", workerId)

0 commit comments

Comments
 (0)