debug minimal docker setup

This commit is contained in:
anhefti 2024-02-28 13:39:31 +01:00
parent c520777585
commit 4d55104a0b
2 changed files with 17 additions and 12 deletions

View file

@ -76,6 +76,7 @@ public class WebserviceInit implements ApplicationListener<ApplicationReadyEvent
SEBServerInit.INIT_LOGGER.info("----> "); SEBServerInit.INIT_LOGGER.info("----> ");
SEBServerInit.INIT_LOGGER.info("----> Register Webservice: {}", this.webserviceInfo.getWebserviceUUID()); SEBServerInit.INIT_LOGGER.info("----> Register Webservice: {}", this.webserviceInfo.getWebserviceUUID());
try {
if (this.webserviceInfoDAO.isInitialized()) { if (this.webserviceInfoDAO.isInitialized()) {
this.registerWebservice(); this.registerWebservice();
@ -93,6 +94,9 @@ public class WebserviceInit implements ApplicationListener<ApplicationReadyEvent
this.registerWebservice(); this.registerWebservice();
} }
} catch (final Exception e) {
SEBServerInit.INIT_LOGGER.error("Failed to apply data import and migration --> ", e);
}
SEBServerInit.INIT_LOGGER.info("----> "); SEBServerInit.INIT_LOGGER.info("----> ");
SEBServerInit.INIT_LOGGER.info("----> Initialize Services..."); SEBServerInit.INIT_LOGGER.info("----> Initialize Services...");

View file

@ -57,6 +57,7 @@ public class WebserviceInfoDAOImpl implements WebserviceInfoDAO {
.execute(); .execute();
return true; return true;
} catch (final Exception e) { } catch (final Exception e) {
log.warn("DB Context not initialized: ", e);
return false; return false;
} }
} }