X Tutup
Skip to content

Exception on execution may be lost #303

@leinad75

Description

@leinad75

In class AbstrSyncDockerCmdExec there is a finally block which throws an exception. This could hide an exception which is thrown in the try block, in case the close statement throws an error.

    } finally {
        try {
            command.close();
        } catch (IOException e) {
            throw new RuntimeException(e);
        }
    }

The original exception must not lost

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      X Tutup