Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exceptions in api.log #144

Open
gwhitney opened this issue Jul 20, 2024 · 0 comments
Open

Exceptions in api.log #144

gwhitney opened this issue Jul 20, 2024 · 0 comments

Comments

@gwhitney
Copy link
Collaborator

Shortly after installing commit bb21c37 in production (which involved wiping and reconstructing the database), the
api.log file in production contained

{"event": "Exception on /api/get_oeis_name_and_values/A000040 [GET]", "exc_info": ["<class 'sqlalchemy.exc
.IntegrityError'>", "IntegrityError('(psycopg2.errors.UniqueViolation) duplicate key value violates unique
 constraint \"sequences_pkey\"\\nDETAIL:  Key (id)=(A000040) already exists.\\n')", "<traceback object at 
0x7f9b57d46800>"], "timestamp": "2024-07-20T12:58:48.065590"}
{"event": "Exception on /api/get_oeis_name_and_values/A000040 [GET]", "exc_info": ["<class 'sqlalchemy.exc
.IntegrityError'>", "IntegrityError('(psycopg2.errors.UniqueViolation) duplicate key value violates unique
 constraint \"sequences_pkey\"\\nDETAIL:  Key (id)=(A000040) already exists.\\n')", "<traceback object at 
0x7f9b581ded40>"], "timestamp": "2024-07-20T12:58:48.065967"}

Maybe this is a transient condition, but even if so, these look like exceptions that should not be ocurring...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant