Remove unneeded try-catch block (unless sneaky-throw!)
@@ -112,17 +112,7 @@ public class Deployment implements com.yahoo.config.provision.Deployment {
TimeoutBudget timeoutBudget = params.getTimeoutBudget();
timeoutBudget.assertNotTimedOut(() -> "Timeout exceeded when trying to activate '" + applicationId + "'");
- Activation activation;
- try {
- activation = applicationRepository.activate(session, applicationId, tenant, params.force());
- }
- catch (RuntimeException e) {
- throw e;
- }
- catch (Exception e) {
- throw new InternalServerException("Error when activating '" + applicationId + "'", e);
- }
-
+ Activation activation = applicationRepository.activate(session, applicationId, tenant, params.force());
activation.awaitCompletion(timeoutBudget.timeLeft());
log.log(Level.INFO, session.logPre() + "Session " + session.getSessionId() + " activated successfully using " +
provisioner.map(provisioner -> provisioner.getClass().getSimpleName()).orElse("no host provisioner") +
