diff --git a/src/main/java/org/qortal/api/ApiRequest.java b/src/main/java/org/qortal/api/ApiRequest.java index b9fbf1dc..a51a117e 100644 --- a/src/main/java/org/qortal/api/ApiRequest.java +++ b/src/main/java/org/qortal/api/ApiRequest.java @@ -122,7 +122,7 @@ public class ApiRequest { return marshaller; } catch (JAXBException e) { - throw new RuntimeException("Unable to create websocket marshaller", e); + throw new RuntimeException("Unable to create API marshaller", e); } } @@ -132,7 +132,7 @@ public class ApiRequest { try { marshaller.marshal(object, writer); } catch (JAXBException e) { - throw new IOException("Unable to create marshall object for websocket", e); + throw new IOException("Unable to create marshall object for API", e); } }