Skip to content

daemons always exits with zero #78

@trombik

Description

@trombik

even when something causes an error, the application exits with zero.

def catch_exceptions(&block)
begin
block.call
rescue CmdException, OptionParser::ParseError => e
puts "ERROR: #{e}"
puts
print_usage
rescue RuntimeException => e
puts "ERROR: #{e}"
end
end

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions