git-svn-id: https://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/Common/storagehub-client@173805 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
6d3d9e2faa
commit
7069e5e1e3
6
pom.xml
6
pom.xml
|
@ -40,6 +40,12 @@
|
|||
<version>4.10</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>gov.nih.imagej</groupId>
|
||||
<artifactId>imagej</artifactId>
|
||||
<version>1.47</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.gcube.common</groupId>
|
||||
<artifactId>storagehub-model</artifactId>
|
||||
|
|
|
@ -290,7 +290,7 @@ public class DefaultItemManager implements ItemManagerClient {
|
|||
if (response.hasException())
|
||||
throw response.getException();
|
||||
else
|
||||
throw new BackendGenericError();
|
||||
throw new BackendGenericError("error response from the service with code: "+response.getHTTPCode());
|
||||
}
|
||||
|
||||
ItemWrapper<Item> item = response.getSource().readEntity(ItemWrapper.class);
|
||||
|
|
Loading…
Reference in New Issue