server/handlerwrappers/default.rb in cpee-1.5.24 vs server/handlerwrappers/default.rb in cpee-1.5.25

- old
+ new

@@ -14,10 +14,10 @@ class DefaultHandlerWrapper < WEEL::HandlerWrapperBase def self::inform_state_change(arguments,newstate) # {{{ controller = arguments[0] controller.serialize_state! - controller.notify("state/change", :instance => controller.instance, :instance_uuid => controller.uuid, :state => newstate, :timestamp => Time.now.strftime("%Y-%m-%dT%H:%M:%S.%L%:z")) + controller.notify("state/change", :instance => controller.instance, :instance_uuid => controller.uuid, :state => newstate, :timestamp => Time.now.strftime("%Y-%m-%dT%H:%M:%S.%L%:z"), :attributes => controller.attributes_translated) controller.finalize_if_finished end # }}} def self::inform_syntax_error(arguments,err,code)# {{{ controller = arguments[0] controller.notify("description/error", :instance => controller.instance, :instance_uuid => controller.uuid, :message => err.message, :timestamp => Time.now.strftime("%Y-%m-%dT%H:%M:%S.%L%:z"))