Skip to content
Snippets Groups Projects
Unverified Commit f955cd5a authored by Daniel's avatar Daniel
Browse files

FIX: /Info does not fail anymore.

See #83
parent 3bc2846b
No related branches found
No related tags found
No related merge requests found
......@@ -236,7 +236,11 @@ class JdomConverter {
Element ret = new Element(b.getName());
ret.setAttribute("since", new Date(b.since).toString());
ret.setAttribute("since_ms", Long.toString(b.since));
ret.setAttribute("called_from", b.called_from());
String calledFrom = b.called_from();
if (null == calledFrom) {
calledFrom = "-";
}
ret.setAttribute("called_from", calledFrom);
Iterable<Measurement> measurements = b.getMeasurements();
synchronized (measurements) {
......
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