noalyss-commit
[Top][All Lists]
Advanced

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

[Noalyss-commit] [noalyss] 13/30: Better error message when cannot save


From: Dany De Bontridder
Subject: [Noalyss-commit] [noalyss] 13/30: Better error message when cannot save a plugin
Date: Sat, 3 Dec 2022 08:35:08 -0500 (EST)

sparkyx pushed a commit to branch master
in repository noalyss.

commit 186e47f5b8795642932da123359ec2917d75ff71
Author: sparkyx <danydb@noalyss.eu>
AuthorDate: Wed Nov 23 18:21:08 2022 +0100

    Better error message when cannot save a plugin
---
 include/class/extension.class.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/class/extension.class.php 
b/include/class/extension.class.php
index 368710f07..312049742 100644
--- a/include/class/extension.class.php
+++ b/include/class/extension.class.php
@@ -63,7 +63,7 @@ class Extension extends Menu_Ref_sql
         if (trim($this->me_file)=="")
             throw new Exception('Chemin incorrect');
         if (file_exists(NOALYSS_PLUGIN.'/'.$this->me_file)==false)
-            throw new Exception('Extension non trouvée, le chemin est-il 
correct?');
+            throw new Exception("$this->me_code $this->me_file".'Extension non 
trouvée, le chemin est-il correct?');
     }
 
     /*!@brief search a extension, the what is the column (extends_code */



reply via email to

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