summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2014-02-27 13:46:23 (GMT)
committerChristian Mollekopf <chrigi_1@fastmail.fm>2014-02-27 13:46:23 (GMT)
commit21e14ad482ed1de9f8e8b8419562bd82d7f8d6b8 (patch)
treea8dddfe65e4e3fffac9a56f42a8508c74cf02b20
parent3d1b7ca37146003a830dc4cedce32453977af1ab (diff)
downloadlibkolabxml-21e14ad482ed1de9f8e8b8419562bd82d7f8d6b8.tar.gz
Print the invalid timezone as part of the error message.
-rw-r--r--src/objectvalidation.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/objectvalidation.cpp b/src/objectvalidation.cpp
index e6a1464..8ea0a04 100644
--- a/src/objectvalidation.cpp
+++ b/src/objectvalidation.cpp
@@ -51,7 +51,7 @@ bool isValid(const cDateTime &datetime)
return false;
}
if (tzSet.find(tz) == tzSet.end()) {
- Utils::logMessage("not a valid olson timezone.", "", 0, Error);
+ Utils::logMessage("Not a valid olson timezone: " + tz, "", 0, Error);
return false;
}
}