Skip to content

ErrorException: Warning: SimpleXMLElement::__construct(): ... #1242

Description

@sentry

This issue has 15k+ events on Sentry, I think we should handle it

Sentry Issue: BADGE-POSER-9D

ErrorException: Warning: SimpleXMLElement::__construct():                                                                                ^
  File "/src/Badge/Service/ImageFactory.php", line 32, in App\Badge\Service\ImageFactory::createFromBadge
    $badge->getFormat()
  File "/src/Controller/Badge/AbstractBadgeController.php", line 28, in App\Controller\Badge\AbstractBadgeController::serveBadge
    $imageFactory->createFromBadge($cacheableBadge),
  File "/src/Controller/Badge/RequireController.php", line 28, in App\Controller\Badge\RequireController::require
    $createRequireBadge->createRequireBadge($repository, $type, $format, $style),
  File "/public/index.php", line 5
    require_once \dirname(__DIR__).'/vendor/autoload_runtime.php';
...
(7 additional frame(s) were not displayed)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions