This is an automated email from the ASF dual-hosted git repository.
jbonofre pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/karaf.git
The following commit(s) were added to refs/heads/main by this push:
new cc437bfc53 [KARAF-7677] Improve failure report of karaf assembly
new f42bceed1a Merge pull request #1715 from
CMoH/karaf-7677-log-assembly-failure-cause
cc437bfc53 is described below
commit cc437bfc5365e158f2714a7cf80fb368d0cfc508
Author: Ciprian Ciubotariu <[email protected]>
AuthorDate: Tue Feb 28 01:45:19 2023 +0200
[KARAF-7677] Improve failure report of karaf assembly
Log the offending bundle if a bundle refresh occurs during assembly
---
.../apache/karaf/features/internal/service/StaticInstallSupport.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/features/core/src/main/java/org/apache/karaf/features/internal/service/StaticInstallSupport.java
b/features/core/src/main/java/org/apache/karaf/features/internal/service/StaticInstallSupport.java
index 54607d26bc..032d791f79 100644
---
a/features/core/src/main/java/org/apache/karaf/features/internal/service/StaticInstallSupport.java
+++
b/features/core/src/main/java/org/apache/karaf/features/internal/service/StaticInstallSupport.java
@@ -45,7 +45,7 @@ public abstract class StaticInstallSupport implements
BundleInstallSupport {
@Override
public void updateBundle(Bundle bundle, String uri, InputStream is) throws
BundleException {
- System.err.println("Update bundle is not supported in the static
installer");
+ System.err.printf("Update bundle is not supported in the static
installer: bundle %s, uri %s%n", bundle == null ? "null" :
bundle.getSymbolicName(), uri);
if (failOnUpdate) {
throw new UnsupportedOperationException();
}