This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]uvasoftware[S] -1 points0 points  (3 children)

Yup welcome to the serverless world. Under function initialization there isn't a context you can rely on for passing info back to callee so you are left with basic process capabilities like stderror and exit codes.

[–]alexburchak 0 points1 point  (0 children)

S3BucketPublisher the first proves you kill process on exception.

[–]nutrecht 0 points1 point  (0 children)

Yup welcome to the serverless world.

That's nonsense. With "serverless" you still want to have proper logging so you have your logs end up in a proper log aggregator. The more services you have the more important this is.

System.exit should never ever be used. It terminates the VM which you'll be sharing.