Обсуждение: pgAdmin4 python3 some issues

Поиск
Список
Период
Сортировка

pgAdmin4 python3 some issues

От
Seçkin Alan
Дата:
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