]> git.mxchange.org Git - friendica.git/blobdiff - static/dependencies.config.php
Don't continue when key couldn't be created
[friendica.git] / static / dependencies.config.php
index 28cc58a611aa58c97bf19112fb8e16a763bc5b78..90fa13684ca98a31e28cf4a303b872da198bbbc0 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * @copyright Copyright (C) 2020, Friendica
+ * @copyright Copyright (C) 2010-2021, the Friendica project
  *
  * @license GNU AGPL version 3 or any later version
  *
@@ -221,5 +221,10 @@ return [
        ],
        Network\IHTTPRequest::class => [
                'instanceOf' => Network\HTTPRequest::class,
-       ]
+       ],
+       Factory\Api\Mastodon\Error::class => [
+               'constructParams' => [
+                       $_SERVER
+               ],
+       ],
 ];