Permalink
Browse files

[FrameworkBundle] added support for previous exceptions in the except…

…ion pages
  • Loading branch information...
1 parent 88d5c1b commit b33aecce1b093d2f82f0456a15f02ca698a7b6d9 @fabpot fabpot committed Aug 24, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 Yaml.php
View
@@ -89,7 +89,7 @@ public static function load($input)
try {
$ret = $yaml->parse($input);
} catch (\Exception $e) {
- throw new \InvalidArgumentException(sprintf('Unable to parse %s: %s', $file ? sprintf('file "%s"', $file) : 'string', $e->getMessage()));
+ throw new \InvalidArgumentException(sprintf('Unable to parse %s: %s', $file ? sprintf('file "%s"', $file) : 'string', $e->getMessage()), 0, $e);
}
return $ret;

0 comments on commit b33aecc

Please sign in to comment.