Hi,
In Python 2.7
>>>NameError('seckin').message
'seckin'

In Python3
>>> NameError('seckin').message
Traceback (most recent call last):
  File "<input>", line 1, in <module>
AttributeError: 'NameError' object has no attribute 'message'

So
In python3 some exceptions doesnt showing

For example:
pgadmin4/web/pgadmin/browser/server_groups/servers/__init__.py
523: errormsg=e.message

If we use __str__() method, not problem in both versions

what measures can be taken?


-- 
Seçkin ALAN
http://sckn.org


-- 
Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgadmin-hackers

Reply via email to