diff --git a/README.md b/README.md index 63e9cd806..a3391e0dc 100644 --- a/README.md +++ b/README.md @@ -7510,8 +7510,8 @@ do { ```swift do { try player.update(db) -} catch PersistenceError.recordNotFound { - // There was nothing to update +} catch let PersistenceError.recordNotFound(databaseTableName: table, key: key) { + print("Key \(key) was not found in table \(table).") } ```