noalyss-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Noalyss-commit] [noalyss] 21/23: CfgPlugin : improve trace


From: Dany De Bontridder
Subject: [Noalyss-commit] [noalyss] 21/23: CfgPlugin : improve trace
Date: Tue, 24 Nov 2020 14:22:45 -0500 (EST)

sparkyx pushed a commit to branch master
in repository noalyss.

commit c939dab5e561646ba56acb747ded701e13c50533
Author: sparkyx <danydb@noalyss.eu>
AuthorDate: Thu Nov 19 11:01:52 2020 +0100

    CfgPlugin : improve trace
---
 include/cfgplugin.inc.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/cfgplugin.inc.php b/include/cfgplugin.inc.php
index e09e600..6dcb397 100644
--- a/include/cfgplugin.inc.php
+++ b/include/cfgplugin.inc.php
@@ -83,7 +83,7 @@ if ( isset ($_POST['save_plugin'])){
                 }
                 catch (Exception $exc)
                 {
-                    record_log($exc->getTraceAsString());
+                    record_log($exc->getMessage()." 
trace:".$exc->getTraceAsString());
                     $profile_name=$cn->get_value('select profile.p_name from 
profile where p_id=$1'
                             ,array($profile));
                     echo '<p class="notice">';



reply via email to

[Prev in Thread] Current Thread [Next in Thread]