We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2d839c9 commit afe017bCopy full SHA for afe017b
bin/gendiff
@@ -41,4 +41,8 @@ DOC;
41
42
$args = Docopt::handle($doc, array('version' => $about));
43
44
-echo genDiff($args['<firstFile>'], $args['<secondFile>'], $args['--format']);
+try {
45
+ echo genDiff($args['<firstFile>'], $args['<secondFile>'], $args['--format']);
46
+} catch (Exception $e) {
47
+ echo "Error: {$e->getMessage()}";
48
+}
0 commit comments