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

BUG report #3

Open
arthurkiller opened this issue Jun 27, 2019 · 0 comments
Open

BUG report #3

arthurkiller opened this issue Jun 27, 2019 · 0 comments
Assignees

Comments

@arthurkiller
Copy link
Contributor

{"level":"error","ts":1561626561.314334,"caller":"continuous/continuous.go:239","msg":"wait child process to exit failed","pid":2362,"error":"waitid: invalid argument","stacktrace":"github.com/shafreeck/continuous.(*Cont).Serve\n\t/Users/arthur/golang/src/github.com/shafreeck/continuous/continuous.go:239\nmain.main\n\t/Users/arthur/golang/src/icode.baidu.com/baidu/bdrp/jarvis/bin/jarvis/main.go:138\nruntime.main\n\t/usr/local/go/src/runtime/proc.go:200"}
{"level":"error","ts":1561626561.3144157,"caller":"continuous/continuous.go:250","msg":"recover pid file failed","pid":2362,"error":"rename /home/work/agent/./jarvis.pid.old /home/work/agent/./jarvis.pid: no such file or directory","stacktrace":"github.com/shafreeck/continuous.(*Cont).Serve\n\t/Users/arthur/golang/src/github.com/shafreeck/continuous/continuous.go:250\nmain.main\n\t/Users/arthur/golang/src/icode.baidu.com/baidu/bdrp/jarvis/bin/jarvis/main.go:138\nruntime.main\n\t/usr/local/go/src/runtime/proc.go:200"}

use path.Join instead of appending the path

@shafreeck shafreeck self-assigned this Jun 27, 2019
@shafreeck shafreeck added bug Something isn't working and removed bug Something isn't working labels Jun 27, 2019
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

2 participants