Skip to content

Commit

Permalink
Error message on runtime error page
Browse files Browse the repository at this point in the history
  • Loading branch information
charliesome committed May 15, 2011
1 parent e3b300f commit dc4b1c6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libfructose/libfructose.php
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ function _exception_handler($ex)
<h1>Runtime Error in <?php echo htmlspecialchars($_SERVER['FRUCTOSE_SRC']); ?></h1>
<div>
Unhandled exception: <?php echo htmlspecialchars(get_class($ex->val)); ?><br />
<?php echo htmlspecialchars($ex->val->F_to_s(NULL)->__STRING); ?><br/>
<?php
foreach($ex->getTrace() as $frame)
{
Expand Down

0 comments on commit dc4b1c6

Please sign in to comment.