lib/error.rb in opentox-ruby-1.0.2 vs lib/error.rb in opentox-ruby-2.0.0
- old
+ new
@@ -67,11 +67,11 @@
p
end
def rdf_content()
c = {
- RDF.type => OT.ErrorReport,
+ RDF.type => [OT.ErrorReport],
OT.statusCode => @http_code,
OT.message => @message,
OT.actor => @actor,
OT.errorCode => @errorType,
}
@@ -94,6 +94,6 @@
break if c =~ /sinatra\/base/
short << c
end
short.join("\n")
end
-end
\ No newline at end of file
+end