forked from Mirrors/gomuks
Return errors from sync in headless mode
This commit is contained in:
parent
3b333aef02
commit
8a1e095f58
1 changed files with 3 additions and 0 deletions
|
@ -87,6 +87,9 @@ func Init(conf Config, updates chan fmt.Stringer) error {
|
|||
gmx.Matrix().(*matrix.Container).InitSyncer()
|
||||
updates <- processingSync{}
|
||||
err = gmx.Matrix().(*matrix.Container).ProcessSyncResponse(resp, "")
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
updates <- syncFinished{}
|
||||
|
||||
// verify (fetch)
|
||||
|
|
Loading…
Add table
Reference in a new issue