mirror of
https://github.com/Snawoot/opera-proxy.git
synced 2025-09-02 10:42:07 +00:00
lower log level for cred update errors
This commit is contained in:
parent
51933dcffe
commit
495428ef10
1 changed files with 2 additions and 2 deletions
4
main.go
4
main.go
|
@ -235,7 +235,7 @@ func run() int {
|
||||||
defer cl()
|
defer cl()
|
||||||
err := seclient.Login(reqCtx)
|
err := seclient.Login(reqCtx)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
mainLogger.Critical("Login refresh failed: %v", err)
|
mainLogger.Error("Login refresh failed: %v", err)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
mainLogger.Info("Login refreshed.")
|
mainLogger.Info("Login refreshed.")
|
||||||
|
@ -245,7 +245,7 @@ func run() int {
|
||||||
defer cl()
|
defer cl()
|
||||||
err = seclient.DeviceGeneratePassword(reqCtx)
|
err = seclient.DeviceGeneratePassword(reqCtx)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
mainLogger.Critical("Device password refresh failed: %v", err)
|
mainLogger.Error("Device password refresh failed: %v", err)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
mainLogger.Info("Device password refreshed.")
|
mainLogger.Info("Device password refreshed.")
|
||||||
|
|
Loading…
Add table
Reference in a new issue