lib/pragma/operation/base.rb in pragma-operation-1.6.2 vs lib/pragma/operation/base.rb in pragma-operation-1.6.3
- old
+ new
@@ -237,10 +237,10 @@
end
end
def mark_result
return if /\A(2|3)\d{2}\z/ =~ STATUSES.invert[context.status].to_s
- context.fail!
+ context.fail! pragma_operation_failure: true
end
def build_links
headers.delete('Link')