Skip to content

Wrong error message if git is unvailable #525

Closed
@carlhoerberg

Description

@carlhoerberg

If the git command is unavailable I get:

Locked version 0.1.1 for PKG was not found in git: https://gitlab.com/X/PKG.git.

Instead of expected:

Error missing git command line tool. Please install Git first!

I guess

raise Error.new("Error missing git command line tool. Please install Git first!")
is swallowed here:
rescue ex : Shards::Error

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