]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-3495 Initial exception is lost when settings can't be decrypted
authorSimon Brandhof <simon.brandhof@gmail.com>
Mon, 21 May 2012 09:30:49 +0000 (11:30 +0200)
committerSimon Brandhof <simon.brandhof@gmail.com>
Mon, 21 May 2012 09:30:49 +0000 (11:30 +0200)
sonar-plugin-api/src/main/java/org/sonar/api/config/Settings.java

index e507831f57d4b8db19a7784576c6f5e8afbc3f34..397c5dde0b14930bae9025db8cb11efa32529e87 100644 (file)
@@ -80,7 +80,7 @@ public class Settings implements BatchComponent, ServerComponent {
       try {
         value = encryption.decrypt(value);
       } catch (Exception e) {
-        throw new IllegalStateException("Fail to decrypt the property " + key + ". Please check your secret key.");
+        throw new IllegalStateException("Fail to decrypt the property " + key + ". Please check your secret key.", e);
       }
     }
     return value;