Commit 003143e2 authored by Antoine Millet's avatar Antoine Millet
Browse files

Ignore failed tag updates

parent 9abb9ed1
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -153,6 +153,8 @@ class SRequestor(StaticRequestor):
        # Get and process the results:
        for update in watcher.wait(timeout=60):  #TODO: adaptative timeout
            obj = update['data']
            if 'return' not in update:
                continue  #TODO: display error in tag value
            for tag_name, tag_value in update['return'].iteritems():
                obj.set(tag_name, tag_value)
                obj[tag_name].cached = tag_value  # Set the tag cache value