ENXF NET
Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
- Joined
- Nov 13, 2018
- Messages
- 33,016
- Points
- 823
Reputation:
If
PHP:
Read more
Continue reading...
triggerRunOnce() throws a Error (aka a Throwable not an Exception) then XF::dispatchLoop will swallow it.PHP:
Code:
public static function triggerRunOnce($rethrow = false)
{
...
try
{
$fn();
}
catch (\Exception $e)
{
self::logException($e, true);
// can't know if we have an open transaction from before so have to roll it back
if ($rethrow)
{
throw $e;
}
}
...
public function dispatchLoop(RouteMatch $match)
{
...
try
{...
Read more
Continue reading...