Skip to content

Commit

Permalink
Merge pull request #186 from z0lope0z/patch-1
Browse files Browse the repository at this point in the history
echoing fart might throw PoopException
  • Loading branch information
mrkrstphr committed Apr 8, 2015
2 parents 75f603f + f95f649 commit df2e2d7
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion index.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,11 @@
</head>
<body>
<?php
echo 'fart';
try {
echo 'fart';
} catch (PoopException $e) {
echo 'Caught exception: ', $e->getMessage(), "\n";
}
?>
</body>
</html>

0 comments on commit df2e2d7

Please sign in to comment.