lib/dogviz/sigma_graph_hash.rb in dogviz-0.0.18 vs lib/dogviz/sigma_graph_hash.rb in dogviz-0.0.19
- old
+ new
@@ -16,10 +16,10 @@
private
def get_json_filename(type_to_filename)
type = type_to_filename.keys.first
- raise StandardError.new('json output only supported') unless type == :json
+ raise StandardError.new("json output only supported, not #{type}") unless type == :json
type_to_filename[type]
end
end
-end
\ No newline at end of file
+end