lib/ruote/exp/ro_persist.rb in ruote-2.1.4 vs lib/ruote/exp/ro_persist.rb in ruote-2.1.5
- old
+ new
@@ -67,16 +67,13 @@
#puts "- unp #{h.fei['expid']} #{tree.first} #{h._rev} --> #{r.class}"
#Ruote.p_caller('- unp') if r != nil || h.fei['expid'] == '0_0'
return r if r
- if h.has_error
-
- err = @context.storage.get(
- 'errors', "err_#{Ruote.to_storage_id(h.fei)}")
-
- @context.storage.delete(err) if err
- end
+ #if h.has_error
+ err = @context.storage.get('errors', "err_#{Ruote.to_storage_id(h.fei)}")
+ @context.storage.delete(err) if err
+ #end
nil
end
#--