Skip to content

Commit

Permalink
jhedstrom#219 Fixed message
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelovani committed Jan 10, 2020
1 parent e8d3061 commit 02ec10e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Drupal/Driver/Cores/Drupal7.php
Original file line number Diff line number Diff line change
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 02ec10e

Please sign in to comment.