diff options
author | Sébastien Lesaint <sebastien.lesaint@sonarsource.com> | 2017-03-06 11:51:51 +0100 |
---|---|---|
committer | Sébastien Lesaint <sebastien.lesaint@sonarsource.com> | 2017-03-13 16:00:01 +0100 |
commit | 9730736b59ed79bd14149804189b8843b43737ac (patch) | |
tree | 37094f660e4435cfeee313b7ee41254dc3071a3c /server/sonar-ce | |
parent | fbff4f5366bd8fb2348eb5ceab1cb3c1a929dc80 (diff) | |
download | sonarqube-9730736b59ed79bd14149804189b8843b43737ac.tar.gz sonarqube-9730736b59ed79bd14149804189b8843b43737ac.zip |
SONAR-7485 log MessageException inline in CeServer
Diffstat (limited to 'server/sonar-ce')
-rw-r--r-- | server/sonar-ce/src/main/java/org/sonar/ce/app/CeServer.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/server/sonar-ce/src/main/java/org/sonar/ce/app/CeServer.java b/server/sonar-ce/src/main/java/org/sonar/ce/app/CeServer.java index d5ad3095af8..82b9f1ecc44 100644 --- a/server/sonar-ce/src/main/java/org/sonar/ce/app/CeServer.java +++ b/server/sonar-ce/src/main/java/org/sonar/ce/app/CeServer.java @@ -151,6 +151,9 @@ public class CeServer implements Monitored { try { startup(); return true; + } catch (org.sonar.api.utils.MessageException | org.sonar.process.MessageException e) { + LOG.error("Compute Engine startup failed: " + e.getMessage()); + return false; } catch (Throwable e) { LOG.error("Compute Engine startup failed", e); return false; |