mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-11-22 12:02:05 +01:00
[omemo] Do not swallow the exception in OmemoAesCipher
This commit is contained in:
parent
7135977cb7
commit
9e5564a597
1 changed files with 2 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* Copyright 2017 Paul Schaub, 2019-2021 Florian Schmaus
|
* Copyright 2017 Paul Schaub, 2019-2023 Florian Schmaus
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
|
@ -47,7 +47,7 @@ public class OmemoAesCipher {
|
||||||
String message = "Unable to perform " + OmemoConstants.Crypto.CIPHERMODE
|
String message = "Unable to perform " + OmemoConstants.Crypto.CIPHERMODE
|
||||||
+ " operation requires by OMEMO. Ensure that a suitable crypto provider for is available."
|
+ " operation requires by OMEMO. Ensure that a suitable crypto provider for is available."
|
||||||
+ " For example Bouncycastle on Android (BouncyCastleProvider)";
|
+ " For example Bouncycastle on Android (BouncyCastleProvider)";
|
||||||
throw new AssertionError(message);
|
throw new AssertionError(message, e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue