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

Give a more specific message when a category tries to update itself after the database has been closed when stopping the server #30

Open
CC007 opened this issue Sep 29, 2023 · 0 comments

Comments

@CC007
Copy link
Owner

CC007 commented Sep 29, 2023

See logs.

TLDR: when a category is being updated, but the server is stopped at the same time, the database will be closed and the following error will be thrown:

[11:59:46] [Craft Scheduler Thread - 11 - HeadsPluginAPI/WARN]: [HeadsPluginAPI] Plugin HeadsPluginAPI v3.2.0 generated an exception while executing task 39 
    org.apache.openjpa.persistence.PersistenceException: connection exception: closed { <sql statement> } 
    <stacktrace>

It would be nice if this exception was caught and only a warning was logged regarding being unable to finish updating the categories.

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