Skip to content

Commit 082ca82

Browse files
committed
Throw exception instead of system.out
[docker build]
1 parent 7cd8f45 commit 082ca82

File tree

1 file changed

+1
-1
lines changed
  • adapters/klab.ogc/src/main/java/org/integratedmodelling/klab/stac

1 file changed

+1
-1
lines changed

adapters/klab.ogc/src/main/java/org/integratedmodelling/klab/stac/STACEncoder.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ public void getEncodedData(IResource resource, Map<String, String> urnParameters
311311
System.out.println("Successfully Updated CRS");
312312

313313
} catch (Exception e) {
314-
e.printStackTrace();
314+
throw new KlabResourceAccessException(e);
315315
}
316316

317317

0 commit comments

Comments
 (0)