mirror of
https://github.com/tulir/mautrix-whatsapp
synced 2024-06-01 02:29:06 +02:00
Include error message in appstate sync error response
This commit is contained in:
parent
e81b5ae405
commit
5341d79093
|
@ -1008,7 +1008,7 @@ func (handler *CommandHandler) CommandSync(ce *CommandEvent) {
|
|||
for _, name := range appstate.AllPatchNames {
|
||||
err := ce.User.Client.FetchAppState(name, true, false)
|
||||
if err != nil {
|
||||
ce.Reply("Error syncing app state %s", name)
|
||||
ce.Reply("Error syncing app state %s: %v", name, err)
|
||||
} else if name == appstate.WAPatchCriticalUnblockLow {
|
||||
ce.Reply("Synced app state %s, contact sync running in background", name)
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue