Skip to content
Browse files

Merge branch '2.0'

  • Loading branch information...
2 parents 715dd65 + 7b28e07 commit a1f26b42ea21e5eb79776c8903f698a43ae3bc38 @jmikola jmikola committed Aug 31, 2012
Showing with 3 additions and 1 deletion.
  1. +3 −1 Command/GenerateDocumentsDoctrineODMCommand.php
View
4 Command/GenerateDocumentsDoctrineODMCommand.php
@@ -84,7 +84,9 @@ protected function execute(InputInterface $input, OutputInterface $output)
$documentGenerator->generate(array($metadata), $this->findBasePathForBundle($foundBundle));
}
} else {
- throw new \RuntimeException("Bundle " . $bundleName . " does not contain any mapped documents.");
+ throw new \RuntimeException(
+ "Bundle " . $bundleName . " does not contain any mapped documents.".
+ "Did you maybe forget to define a mapping configuration?");
}
}
}

0 comments on commit a1f26b4

Please sign in to comment.
Something went wrong with that request. Please try again.