Skip to content

Robohash throws exception if missing background configuration #37

@dpi

Description

@dpi

Creating new Robohash plugin instance without background produces exception.

Drupal\avatars\Exception\AvatarException: Invalid background in Drupal\avatars_robohash\Robohash->setBackground() (line 79 of modules/contrib/avatars/avatars_robohash/src/Robohash.php).

Plugin should use a default background if no configuration is set.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions