]> git.mxchange.org Git - friendica.git/blobdiff - src/Util/JsonLD.php
Display interaction data for Diaspora accounts
[friendica.git] / src / Util / JsonLD.php
index f91d84ad5c13cd5e98a39b97db2835baa3ac176f..e8c4751c4387266eba55eb35b84b0192a04e3444 100644 (file)
@@ -21,7 +21,7 @@
 
 namespace Friendica\Util;
 
-use Friendica\Core\Cache\Duration;
+use Friendica\Core\Cache\Enum\Duration;
 use Friendica\Core\Logger;
 use Exception;
 use Friendica\DI;
@@ -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);