[pytango] 116/483: added more info in exception

Sandor Bodo-Merle sbodomerle-guest at moszumanska.debian.org
Thu Sep 28 19:14:31 UTC 2017


This is an automated email from the git hooks/post-receive script.

sbodomerle-guest pushed a commit to annotated tag bliss_8.10
in repository pytango.

commit 66b9dbf7e279330aea4be58c6163d84a46b86569
Author: tiagocoutinho <tiagocoutinho at 4e9c00fd-8f2e-0410-aa12-93ce3db5e235>
Date:   Wed May 23 13:50:34 2012 +0000

    added more info in exception
    
    git-svn-id: http://svn.code.sf.net/p/tango-cs/code/bindings/PyTango/trunk@20318 4e9c00fd-8f2e-0410-aa12-93ce3db5e235
---
 src/server/attr.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/server/attr.h b/src/server/attr.h
index c0fbb8a..92a52bb 100644
--- a/src/server/attr.h
+++ b/src/server/attr.h
@@ -95,7 +95,7 @@ public:
         if (!_is_method(dev, read_name))
         {
             TangoSys_OMemStream o;
-            o << read_name << " method not found";
+            o << read_name << " method not found for " << att.get_name();
             Tango::Except::throw_exception("PyTango_ReadAttributeMethodNotFound",
                 o.str(), "PyTango::Attr::read");
         }
@@ -114,7 +114,7 @@ public:
         if (!_is_method(dev, write_name))
         {
             TangoSys_OMemStream o;
-            o << write_name << " method not found";
+            o << write_name << " method not found for " << att.get_name();
             Tango::Except::throw_exception("PyTango_WriteAttributeMethodNotFound",
                 o.str(), "PyTango::Attr::write");
         }

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/pytango.git



More information about the debian-science-commits mailing list