Pman.php
authorbenny <benny@roojs.com>
Tue, 14 Aug 2018 02:42:00 +0000 (10:42 +0800)
committerbenny <benny@roojs.com>
Tue, 14 Aug 2018 02:42:00 +0000 (10:42 +0800)
Pman.php

index 915af66..dec4c91 100644 (file)
--- a/Pman.php
+++ b/Pman.php
@@ -990,8 +990,8 @@ class Pman extends HTML_FlexyFramework_Page
         
         
         $reported = true;
-        var_dump($ex);
-        $out = is_a($ex,'Exception') ? $ex->getMessage() : $ex->toString();
+        
+        $out = is_a($ex,'Exception') || is_a($ex, 'Error') ? $ex->getMessage() : $ex->toString();
         
         
         //print_R($bt); exit;