Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
lotfio committed May 24, 2020
2 parents 52ddb75 + 14cdb5a commit ce71804
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 3 deletions.
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,7 @@
- fix duplicate html erros
- fix duplicate cli errors
- new http error interface
- adding support for environments (dev, pro)
- adding support for environments (dev, pro)

#0.3.1
- fix exceptions trace view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

![licence](https://img.shields.io/badge/Licence-MIT-yellow.svg)
![language](https://img.shields.io/badge/PHP-7-blue.svg)
![version](https://img.shields.io/badge/Version-0.3.0-red.svg)
![version](https://img.shields.io/badge/Version-0.3.1-red.svg)
![coverage](https://img.shields.io/badge/coverage-30%25-blue.svg)
![build](https://travis-ci.org/lotfio/ouch.svg?branch=develop)
[![StyleCI](https://github.styleci.io/repos/117599927/shield?branch=develop)](https://github.styleci.io/repos/117599927)
Expand Down
Binary file modified docs/ouch.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 10 additions & 1 deletion src/Ouch/resources/views/500.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,17 @@
</div>
</div>

<?php $i = 1; foreach ($ex->trace as $tr) { ?>

<div class="panel exp-panel" id="exp-<?=$i?>">
<div class="panel-body">
<code><?=htmlentities(readErrorLine($tr['file'], $tr['line']), ENT_QUOTES, 'UTF-8')?></code>
<p><?=$tr['file']?></p>
</div>
</div>

<?php $i++; } ?>



</div>

Expand Down

0 comments on commit ce71804

Please sign in to comment.