Skip to content

Bluescreen cannot render when magic __isset on rendered exception throws another exception #305

Description

@kukulich

Version: 2.5.0

Bug Description

Bluescreen cannot render when magic __isset on rendered exception throws another exception.

The problematic code is:

if (!empty($ex->tracyAction['link']) && !empty($ex->tracyAction['label'])) {
	$actions[] = $ex->tracyAction;
}

Steps To Reproduce

Try to render this exception:

class FooException extends Exception
{
	public function __isset($name)
	{
                throw new Exception('Isset is disabled');
	}    
}

Possible Solution

There should be an interface to detect exceptions with actions.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions