Author: danydb
Date: 2011-11-10 17:08:06 +0100 (Thu, 10 Nov 2011)
New Revision: 4329

Modified:
   phpcompta/trunk/include/class_extension.php
   phpcompta/trunk/include/profile.inc.php
Log:
remove getTraceAsString() in exception

Modified: phpcompta/trunk/include/class_extension.php
===================================================================
--- phpcompta/trunk/include/class_extension.php 2011-11-10 16:07:22 UTC (rev 
4328)
+++ phpcompta/trunk/include/class_extension.php 2011-11-10 16:08:06 UTC (rev 
4329)
@@ -122,7 +122,6 @@
                catch (Exception $exc)
                {
                        echo alert($exc->getMessage());
-                       echo $exc->getTraceAsString();
                }
        }
        function update_plugin()
@@ -138,7 +137,6 @@
                catch (Exception $exc)
                {
                        echo alert($exc->getMessage());
-                       echo $exc->getTraceAsString();
                }
        }
        function remove_plugin()
@@ -152,7 +150,6 @@
                catch (Exception $exc)
                {
                        echo alert($exc->getMessage());
-                       echo $exc->getTraceAsString();
                }
        }
 }

Modified: phpcompta/trunk/include/profile.inc.php
===================================================================
--- phpcompta/trunk/include/profile.inc.php     2011-11-10 16:07:22 UTC (rev 
4328)
+++ phpcompta/trunk/include/profile.inc.php     2011-11-10 16:08:06 UTC (rev 
4329)
@@ -81,7 +81,7 @@
        }
        catch (Exception $exc)
        {
-               echo $exc->getTraceAsString();
+               echo alert($exc->getMessage());
                $cn->rollback();
        }
 
@@ -220,7 +220,6 @@
        }
        catch (Exception $exc)
        {
-               echo $exc->getTraceAsString();
                alert($exc->getMessage());
        }
 


_______________________________________________
Phpcompta-dev mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/phpcompta-dev

Reply via email to