Fix bug in error handling of Inspect impl when subject is quoted triple

This commit is contained in:
Marcel Otto 2021-09-30 22:36:25 +02:00
parent 8b609233fa
commit 0aa0128434

View file

@ -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)