Make build timestamp parsing errors clearer (#929)

This commit is contained in:
Milos Gajdos
2019-11-08 15:57:07 +00:00
committed by Asim Aslam
parent 68419cc024
commit 1ffa289d39
2 changed files with 2 additions and 2 deletions

View File

@@ -93,7 +93,7 @@ func (r *runtime) run(events <-chan Event) {
// parse returned response to timestamp
updateTimeStamp, err := strconv.ParseInt(event.Version, 10, 64)
if err != nil {
log.Debugf("Runtime error parsing update build time: %v", err)
log.Debugf("Runtime error parsing build time for %s: %v", event.Service, err)
continue
}
buildTime := time.Unix(updateTimeStamp, 0)