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