For reference, new versions of psycopg2 won't truncate the exception messages when they don't have a severity at the beginning.
For reference, new versions of psycopg2 won't truncate the exception messages when they don't have a severity at the beginning.