diff options
Diffstat (limited to 'utils.h')
-rw-r--r-- | utils.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -110,10 +110,10 @@ status_t fetchAllInformation(const std::string& path, const XmlConverter<T>& con | |||
110 | return result; | 110 | return result; |
111 | } | 111 | } |
112 | 112 | ||
113 | bool success = converter(outObject, info); | 113 | bool success = converter(outObject, info, error); |
114 | if (!success) { | 114 | if (!success) { |
115 | if (error) { | 115 | if (error) { |
116 | *error = "Illformed file: " + path + ": " + converter.lastError(); | 116 | *error = "Illformed file: " + path + ": " + *error; |
117 | } | 117 | } |
118 | return BAD_VALUE; | 118 | return BAD_VALUE; |
119 | } | 119 | } |