Skip to content

Commit

Permalink
Merge pull request #220 from marcelovani/219-warning
Browse files Browse the repository at this point in the history
#219 Fixed message
  • Loading branch information
jhedstrom committed Jan 24, 2020
2 parents e8d3061 + 02ec10e commit 1148b63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Drupal/Driver/Cores/Drupal7.php
Expand Up @@ -313,7 +313,7 @@ public function termCreate(\stdClass $term) {
}

if (empty($term->vid)) {
throw new \Exception(sprintf('No "%s" vocabulary found.'));
throw new \Exception(sprintf('No "%s" vocabulary found.', $term->vocabulary_machine_name));
}

// Attempt to decipher any fields that may be specified.
Expand Down

0 comments on commit 1148b63

Please sign in to comment.