Skip to content

override exit codes #149

Open
Open

Description

@skinowski

Docker uses: http://tldp.org/LDP/abs/html/exitcodes.html
Make sure FDK does not allow functions to exit with these codes.
For example, 137 exit code is currently flagged as OOM in fn-agent, therefore functions should not be allowed to exit with 137 themselves.

Activity

  1. zootalures commented on Sep 18, 2018

    @zootalures
    Member

    The FDK should probably handle System.exit with a security manager override and trigger a meaningful error to function logs when this is called (e.g. "Function tried to exit VM ") if we did that then FDK images can only return 0,1,2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions