- } catch (Exception e) {
- LOG.error("Error while reading {}", resource, e);
- throw new RuntimeException(e);
+ if(!starting) {
+ moduleInfoRegistry.updateService();
+ }
+ } catch (IOException e) {
+ LOG.error("Error while reading {} from bundle {}", resource, bundle, e);
+ } catch (RuntimeException e) {
+ LOG.error("Failed to process {} for bundle {}", resource, bundle, e);