Ensure FactorySession->create returns an object no matter what

- Rename redundant method name createSession
- Add exception logging
This commit is contained in:
Hypolite Petovan 2023-03-16 21:12:28 -04:00
parent 8bda2a2188
commit 241a512589
2 changed files with 9 additions and 6 deletions

View file

@ -237,7 +237,7 @@ return [
IHandleSessions::class => [
'instanceOf' => \Friendica\Core\Session\Factory\Session::class,
'call' => [
['createSession', [$_SERVER], Dice::CHAIN_CALL],
['create', [$_SERVER], Dice::CHAIN_CALL],
['start', [], Dice::CHAIN_CALL],
],
],