Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A failed target results in unrecognised targets until next reconfigure #61

Open
Southclaws opened this issue Apr 13, 2020 · 0 comments
Open

Comments

@Southclaws
Copy link
Collaborator

{
    "level": "error",
    "ts": "2020-04-13T12:51:51.924Z",
    "caller": "watcher/git.go:88",
    "msg": "failed to handle event",
    "url": "https://github.com/picostack/test",
    "error": "attempt to handle event for unknown target https://github.com/picostack/test at /data/targets/test"
}
attempt to handle event for unknown target https://github.com/picostack/test at /data/targets/test
github.com/picostack/pico/watcher.(*GitWatcher).handle
    /home/runner/work/pico/pico/watcher/git.go:213
github.com/picostack/pico/watcher.(*GitWatcher).Start.func1
    /home/runner/work/pico/pico/watcher/git.go:87
github.com/picostack/pico/watcher.(*GitWatcher).Start
    /home/runner/work/pico/pico/watcher/git.go:101
github.com/picostack/pico/service.(*App).Start.func2
    /home/runner/work/pico/pico/service/service.go:121
runtime.goexit
    /opt/hostedtoolcache/go/1.14.1/x64/src/runtime/asm_amd64.s:1373

So this error attempt to handle event for unknown target https://github.com/picostack/test at /data/targets/test seems to indicate that once a command fails, it's lost from the targets list and future events will not match against it because it's missing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant