From 1edf02a3cee5e4f343b9eefb150e786b17a6686e Mon Sep 17 00:00:00 2001 From: Sandro La Bruzzo Date: Wed, 26 Feb 2020 15:25:03 +0100 Subject: [PATCH] added log --- .../src/main/java/eu/dnetlib/dhp/provision/scholix/Scholix.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dhp-workflows/dhp-graph-provision/src/main/java/eu/dnetlib/dhp/provision/scholix/Scholix.java b/dhp-workflows/dhp-graph-provision/src/main/java/eu/dnetlib/dhp/provision/scholix/Scholix.java index f84aab962c..3a6297df25 100644 --- a/dhp-workflows/dhp-graph-provision/src/main/java/eu/dnetlib/dhp/provision/scholix/Scholix.java +++ b/dhp-workflows/dhp-graph-provision/src/main/java/eu/dnetlib/dhp/provision/scholix/Scholix.java @@ -42,7 +42,7 @@ public class Scholix implements Serializable { s.setSource(ScholixResource.fromSummary(scholixSummary)); return s; } catch (Throwable e) { - throw new RuntimeException(e); + throw new RuntimeException(String.format("Summary: %s \n relation:%s",sourceSummaryJson, relation), e); } }