mirror of https://bitbucket.org/ausocean/av.git
cmd/revid-cli: run failed log message to warning level
This commit is contained in:
parent
cea3a5958a
commit
e3c711d1f6
|
@ -282,7 +282,7 @@ func run(cfg revid.Config) {
|
||||||
for {
|
for {
|
||||||
err = ns.Run()
|
err = ns.Run()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Log(logger.Error, pkg+"Run Failed. Retrying...", "error", err.Error())
|
log.Log(logger.Warning, pkg+"Run Failed. Retrying...", "error", err.Error())
|
||||||
time.Sleep(netSendRetryTime)
|
time.Sleep(netSendRetryTime)
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue