Skip to content

Commit

Permalink
Merge pull request #1692 from ardriveapp/PE-5895-add-profile-password…
Browse files Browse the repository at this point in the history
…-incorrect-exception-to-untracked-exception-handler

PE-5895: dont log ProfilePasswordIncorrectException on Sentry
  • Loading branch information
thiagocarvalhodev authored Apr 4, 2024
2 parents 59237c6 + 9972ada commit d60d727
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/models/daos/profile_dao.dart
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import 'package:ardrive/models/models.dart';
import 'package:ardrive/services/arconnect/arconnect.dart';
import 'package:ardrive/services/arconnect/arconnect_wallet.dart';
import 'package:ardrive/utils/logger.dart';
import 'package:ardrive_logger/ardrive_logger.dart';
import 'package:arweave/arweave.dart';
import 'package:cryptography/cryptography.dart';
import 'package:drift/drift.dart';
Expand All @@ -15,7 +16,7 @@ part 'profile_dao.g.dart';

const keyByteLength = 256 ~/ 8;

class ProfilePasswordIncorrectException implements Exception {}
class ProfilePasswordIncorrectException implements UntrackedException {}

@DriftAccessor(include: {'../queries/profile_queries.drift'})
class ProfileDao extends DatabaseAccessor<Database> with _$ProfileDaoMixin {
Expand Down

0 comments on commit d60d727

Please sign in to comment.