You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@juneau.apache.org by ja...@apache.org on 2017/10/13 17:46:29 UTC
incubator-juneau git commit: Fix StackOverflowException from
exception message.
Repository: incubator-juneau
Updated Branches:
refs/heads/master 593f92b22 -> 2c4b7cedc
Fix StackOverflowException from exception message.
Project: http://git-wip-us.apache.org/repos/asf/incubator-juneau/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-juneau/commit/2c4b7ced
Tree: http://git-wip-us.apache.org/repos/asf/incubator-juneau/tree/2c4b7ced
Diff: http://git-wip-us.apache.org/repos/asf/incubator-juneau/diff/2c4b7ced
Branch: refs/heads/master
Commit: 2c4b7cedc3e8bc56e39e4b2de24998fb65e0bb25
Parents: 593f92b
Author: JamesBognar <ja...@apache.org>
Authored: Fri Oct 13 13:46:25 2017 -0400
Committer: JamesBognar <ja...@apache.org>
Committed: Fri Oct 13 13:46:25 2017 -0400
----------------------------------------------------------------------
.../main/java/org/apache/juneau/microservice/RestMicroservice.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-juneau/blob/2c4b7ced/juneau-microservice/juneau-microservice-server/src/main/java/org/apache/juneau/microservice/RestMicroservice.java
----------------------------------------------------------------------
diff --git a/juneau-microservice/juneau-microservice-server/src/main/java/org/apache/juneau/microservice/RestMicroservice.java b/juneau-microservice/juneau-microservice-server/src/main/java/org/apache/juneau/microservice/RestMicroservice.java
index 39ce7c7..56419fe 100755
--- a/juneau-microservice/juneau-microservice-server/src/main/java/org/apache/juneau/microservice/RestMicroservice.java
+++ b/juneau-microservice/juneau-microservice-server/src/main/java/org/apache/juneau/microservice/RestMicroservice.java
@@ -309,7 +309,7 @@ public class RestMicroservice extends Microservice {
if (f.exists())
xmlConfig = IOUtils.read((File)jettyXml);
else
- throw new FormattedRuntimeException("Jetty.xml file ''{0}'' was specified but not found on the file system.", jettyXml);
+ throw new FormattedRuntimeException("Jetty.xml file ''{0}'' was specified but not found on the file system.", f.getName());
} else {
xmlConfig = IOUtils.read(jettyXml);
}