Skip to content

Commit

Permalink
fi var
Browse files Browse the repository at this point in the history
  • Loading branch information
sokil committed Aug 27, 2019
1 parent e340e60 commit a0a91bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Ad/AbstractAdNode.php
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ final protected function buildCreative($type)
{
// check type
if (!in_array($type, $this->getAvailableCreativeTypes())) {
throw new \Exception('Wrong creative specified: ' . $creative);
throw new \InvalidArgumentException(sprintf('Wrong creative specified: %s', $type));
}

// get container
Expand Down

0 comments on commit a0a91bc

Please sign in to comment.