Skip to content
Snippets Groups Projects
Commit 09ce5d27 authored by Nicola Fulvio Calabria's avatar Nicola Fulvio Calabria
Browse files

Minor bugfix: format of response body in case of fault

parent 5e6f2670
No related branches found
No related tags found
No related merge requests found
......@@ -14,7 +14,6 @@ import it.inaf.oats.vospace.exception.InvalidURIException;
import it.inaf.oats.vospace.exception.LinkFoundException;
import it.inaf.oats.vospace.exception.PermissionDeniedException;
import it.inaf.oats.vospace.persistence.NodeDAO;
import javax.servlet.http.HttpServletRequest;
import net.ivoa.xml.vospace.v2.Node;
import net.ivoa.xml.vospace.v2.Property;
import org.slf4j.Logger;
......
......@@ -15,7 +15,7 @@ public abstract class VoSpaceErrorSummarizableException extends VoSpaceException
public VoSpaceErrorSummarizableException(String message, VOSpaceFaultEnum fault)
{
super(message);
super(fault.getFaultCaptionForDetails() +" " + message);
this.fault = fault;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment