Handle case where Postgres error sometimes starts with 'Error' or 'error'.