Sentry fix (#395)

* Extra sentry diagnostics

* Fix unit test

* Unit test updates

* More unit test updates
This commit is contained in:
Oliver 2023-07-07 21:38:04 +10:00 committed by GitHub
parent 6fe23fa846
commit 2babf27db5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 19 additions and 5 deletions

View file

@ -98,7 +98,7 @@ class UserProfileDBManager {
if (exists) {
debug("addProfile() : UserProfile '${profile.name}' already exists");
return false;
return true;
} else {
debug("Adding new profile: '${profile.name}'");
}
@ -137,6 +137,8 @@ class UserProfileDBManager {
* Remove a user profile from the database
*/
Future<void> deleteProfile(UserProfile profile) async {
debug("deleteProfile: ${profile.name}");
await store.record(profile.key).delete(await _db);
}