From 0aa01284342d78949e80b98ab480c8b6d2030af1 Mon Sep 17 00:00:00 2001 From: Marcel Otto Date: Thu, 30 Sep 2021 22:36:25 +0200 Subject: [PATCH] Fix bug in error handling of Inspect impl when subject is quoted triple --- lib/rdf/inspect.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/rdf/inspect.ex b/lib/rdf/inspect.ex index 352e2ba..422164e 100644 --- a/lib/rdf/inspect.ex +++ b/lib/rdf/inspect.ex @@ -40,7 +40,7 @@ defimpl Inspect, for: RDF.Description do caught_exception -> message = "got #{inspect(caught_exception.__struct__)} with message " <> - "#{inspect(Exception.message(caught_exception))} while inspecting RDF.Description #{description.subject}" + "#{inspect(Exception.message(caught_exception))} while inspecting RDF.Description #{inspect(description.subject)}" exception = Inspect.Error.exception(message: message)