Graylog2 / Graylog2/graylog-project-cli

Improve error message for missing plugin with regenerate

Open
#12 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
24
Forks
8
PR merge metrics
No merged PRs in 30d

Description

When adding a new entry to an existing manifest and then calling `regenerate` without first clone the new repository, the tool just complains about a failing `lstat`:

```
Unable to eval symlinks for /home/user/graylog/graylog-project-repos/graylog-plugin-foo: lstat /home/user/graylog/graylog-project-repos/graylog-plugin-foo: no such file or directory
```

Make this a bit friendlier to explain what happened (and suggest that a `checkout` might solve this problem).

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.