1
0
mirror of https://github.com/xPaw/PHP-Source-Query.git synced 2026-06-28 04:53:15 +02:00

Print info if some was received

This commit is contained in:
Pavel Djundik
2020-12-03 12:51:26 +02:00
parent 7231921b0b
commit b4601cdf86
+4 -7
View File
@@ -87,13 +87,11 @@
</div> </div>
<div class="container"> <div class="container">
<?php if( isset( $Exception ) ): ?> <?php if( $Exception !== '' ): ?>
<div class="panel panel-primary"> <div class="panel panel-error">
<div class="panel-heading"><?php echo Get_Class( $Exception ); ?> at line <?php echo $Exception->getLine( ); ?></div> <pre class="panel-body"><?php echo htmlspecialchars( $Exception->__toString( ) ); ?></pre>
<p><b><?php echo htmlspecialchars( $Exception->getMessage( ) ); ?></b></p>
<p><?php echo nl2br( $e->getTraceAsString(), false ); ?></p>
</div> </div>
<?php else: ?> <?php endif; ?>
<div class="row"> <div class="row">
<div class="col-sm-6"> <div class="col-sm-6">
<table class="table table-bordered table-striped"> <table class="table table-bordered table-striped">
@@ -193,7 +191,6 @@
</table> </table>
</div> </div>
</div> </div>
<?php endif; ?>
</div> </div>
</body> </body>
</html> </html>