Permalink
Browse files

Merge pull request #5 from VIISON/master

Do not check for stderr content on errors
  • Loading branch information...
2 parents 85a01cc + cab9b57 commit 946d7636750227defa1d2da1f783dabcbf6c3567 Stefan Blanke committed Apr 2, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 PDFGenerator/PDFGenerator.php
@@ -146,7 +146,7 @@ private function createTemporaryFile($filename, $extension, $content = null)
*/
private function checkStatus($status, $stdout, $stderr, $command)
{
- if (0 !== $status and '' !== $stderr) {
+ if (0 !== $status) {
throw new \RuntimeException(sprintf(
'The exit status code \'%s\' says something went wrong:' . "\n"
. 'stderr: "%s"' . "\n"

0 comments on commit 946d763

Please sign in to comment.