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