Closed Jslominski-Ushr closed 4 years ago
While trying to catch an error this exception is thrown:
File "/var/task/lambda.py", line 90, in process_asset_id except psycopg2.errors.UniqueViolation:
This code executes on my windows machine with this verions of psychopg2 installed
pip show psycopg2 Name: psycopg2 Version: 2.8.3 Summary: psycopg2 - Python-PostgreSQL Database Adapter Home-page: http://initd.org/psycopg/ Author: Federico Di Gregorio Author-email: fog@initd.org License: LGPL with exceptions or ZPL Location: Requires: Required-by:
While trying to catch an error this exception is thrown:
File "/var/task/lambda.py", line 90, in process_asset_id except psycopg2.errors.UniqueViolation:
This code executes on my windows machine with this verions of psychopg2 installed
pip show psycopg2 Name: psycopg2 Version: 2.8.3 Summary: psycopg2 - Python-PostgreSQL Database Adapter Home-page: http://initd.org/psycopg/ Author: Federico Di Gregorio Author-email: fog@initd.org License: LGPL with exceptions or ZPL Location:
Requires:
Required-by: