1
0
Fork 0
mirror of https://github.com/anyproto/anytype-heart.git synced 2025-06-08 05:47:07 +09:00

Err on incorrect index

This commit is contained in:
mcrakhman 2023-04-25 18:17:59 +02:00 committed by Mikhail Iudin
parent d7b9d1c0b3
commit 5500095070
No known key found for this signature in database
GPG key ID: FAAAA8BAABDFF1C0
2 changed files with 10 additions and 3 deletions

View file

@ -53,7 +53,7 @@ func main() {
if *changeIdx != -1 {
ch, err := importer.ChangeAt(*changeIdx)
if err != nil {
log.Fatal("can't get the change in tree", err)
log.Fatal("can't get the change in tree: ", err)
}
fmt.Println("Change:")
fmt.Println(pbtypes.Sprint(ch.Model))