diff --git a/lib/utils/crypto_util.dart b/lib/utils/crypto_util.dart index 52f0a0532..192b4f6e1 100644 --- a/lib/utils/crypto_util.dart +++ b/lib/utils/crypto_util.dart @@ -296,7 +296,11 @@ class CryptoUtil { key = await deriveKey(password, salt, memLimit, opsLimit); return DerivedKeyResult(key, memLimit, opsLimit); } catch (e, s) { - logger.severe(e, s); + logger.severe( + "failed to derive memLimit: $memLimit and opsLimit: $opsLimit", + e, + s, + ); } memLimit = (memLimit / 2).round(); opsLimit = opsLimit * 2;