mirror of
https://github.com/wavetermdev/wails.git
synced 2026-08-05 13:53:43 -07:00
[v3] Use system logger instead of println
This commit is contained in:
@@ -39,7 +39,7 @@ func (kvs *KeyValueStore) Shutdown() {
|
||||
if kvs.unsaved {
|
||||
err := kvs.Save()
|
||||
if err != nil {
|
||||
println("Error saving store: " + err.Error())
|
||||
application.Get().Logger.Error("Error saving store: " + err.Error())
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user