Merge pull request #451 from ente-io/add_exception
Include exception detail in the log
This commit is contained in:
commit
3b8d8bb4fb
2 changed files with 6 additions and 3 deletions
|
@ -245,7 +245,10 @@ class Configuration {
|
|||
) async {
|
||||
_logger.info('Start decryptAndSaveSecrets');
|
||||
validatePreVerificationStateCheck(
|
||||
attributes, password, getEncryptedToken());
|
||||
attributes,
|
||||
password,
|
||||
getEncryptedToken(),
|
||||
);
|
||||
_logger.info('state validation done');
|
||||
final kek = await CryptoUtil.deriveKey(
|
||||
utf8.encode(password),
|
||||
|
@ -263,7 +266,7 @@ class Configuration {
|
|||
Sodium.base642bin(attributes.keyDecryptionNonce),
|
||||
);
|
||||
} catch (e) {
|
||||
_logger.severe('master-key failed, incorrect password?');
|
||||
_logger.severe('master-key failed, incorrect password?', e);
|
||||
throw Exception("Incorrect password");
|
||||
}
|
||||
_logger.info("master-key done");
|
||||
|
|
|
@ -11,7 +11,7 @@ description: ente photos application
|
|||
# In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
|
||||
# Read more about iOS versioning at
|
||||
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
|
||||
version: 0.6.28+358
|
||||
version: 0.6.29+359
|
||||
|
||||
environment:
|
||||
sdk: ">=2.10.0 <3.0.0"
|
||||
|
|
Loading…
Add table
Reference in a new issue