Commit 46cbaa05 by Marco Schulte Committed by Spencer Gibb

Fixed NPE if origin is unset (#2100)

parent ffc33b4c
...@@ -135,6 +135,7 @@ public class HystrixDashboardConfiguration { ...@@ -135,6 +135,7 @@ public class HystrixDashboardConfiguration {
response.getWriter() response.getWriter()
.println( .println(
"Required parameter 'origin' missing. Example: 107.20.175.135:7001"); "Required parameter 'origin' missing. Example: 107.20.175.135:7001");
return;
} }
origin = origin.trim(); origin = origin.trim();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment