fix(model): avoid unhandled error if createIndex()
throws a sync error
#9476
Loading
createIndex()
throws a sync error
#9476