Skip to content
This repository was archived by the owner on Apr 10, 2024. It is now read-only.
This repository was archived by the owner on Apr 10, 2024. It is now read-only.

Kender suppressing system call errors #20

@uchittamuru-mdsol

Description

@uchittamuru-mdsol

When system call (bundle exec shamus) execution fails, kender is suppressing the reason behind the failure and just saying Run time error with an error code ( https://github.com/mdsol/kender/blob/master/lib/kender/command.rb#l24), instead it would be quite useful if the reason for the failure is printed out. I looked up on the net and found the following a better way to handle system call errors.

begin
  %x[system_call]
rescue Exception => e
  puts e.message
end

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions