X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/8569ecdc2c9368dc0fe650b901cce7b37337ffec..e2febecbf870fcad830d00d2908f0febb5a2ea93:/stglibs/srvconf.lib/parsers/get_service.h

diff --git a/stglibs/srvconf.lib/parsers/get_service.h b/stglibs/srvconf.lib/parsers/get_service.h
index 847d8bfd..d752abf2 100644
--- a/stglibs/srvconf.lib/parsers/get_service.h
+++ b/stglibs/srvconf.lib/parsers/get_service.h
@@ -42,6 +42,7 @@ public:
     virtual ~PARSER();
     int  ParseStart(const char * el, const char ** attr);
     void ParseEnd(const char * el);
+    void Failure(const std::string & reason) { callback(false, reason, info, data); }
 
 private:
     PROPERTY_PARSERS propertyParsers;