Open
Description
{
"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.
Metadata
Metadata
Assignees
Labels
No labels