diff --git a/src/Util/JsonLD.php b/src/Util/JsonLD.php index f91d84ad5c..6ffe9a0a0f 100644 --- a/src/Util/JsonLD.php +++ b/src/Util/JsonLD.php @@ -165,7 +165,7 @@ class JsonLD } catch (Exception $e) { $compacted = false; - Logger::error('compacting error', ['line' => $e->getLine(), 'message' => $e->getMessage()]); + Logger::notice('compacting error', ['line' => $e->getLine(), 'exception' => $e]); } $json = json_decode(json_encode($compacted, JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE), true);