Closed luxlia closed 1 year ago
Yeah, I make changes almost everyday, so sometimes things break, but usually being fixed in next 24 hours. And this issue could be actually helpful if you would specify the exact command caused the problem...
I had the same error when trying to spawn a c.AI character. Rolling back fixed it. /spawn cai-character
If there occurs any unhandled exception, it's being displayed in the console. Just saying "it doesn't work" won't help to solve anything, provide the full error stack trace.
This isn't going to help so, i'm sorry. When the error happened there was nothing displayed in the console. I attempted to recreate the error by updating to the current version but, it's working fine now. I can only speculate it had something to do with running the first time.
When the error happened there was nothing displayed in the console
I had a similar thing happen – no logs showed up when the error occurred. I also tried to recreate the issue by going back to that specific commit, then checked the docker compose logs for errors (I'm using Docker), but there's nothing. I even tried to manually run the entrypoint.sh inside the container, but still, no error was displayed. Anyway, the latest commit seems to be working fine now, so I guess the problem's sorted. Gonna close it.
Most likely, it's somehow related to the fact that I have changed database struct a little, made some fields nullable, but they remained non-null in you database. I'll try to mark sensitive changes like this in description in the future.
Yeah, I only noticed that I have not included the migration in the commit where this change occurred, only in one of the following
The latest commit (0485132) and the commit before it (cb0f147) broke the bot. It throws the following error when I use the slash command:
:warning: Failed to execute command: An error occurred while saving the entity changes. See the inner exception for details.
rolling back to commit b97f46a resolves the issue, and the bot works again.