Console: Error Message
What happened?
Sometimes when login players/god shows this error on server log: [Task::Task]: task context cannot be empty!
I rly do no how to reproduce this.
Task::Task(uint32_t expiresAfterMs, std::function<void(void)> &&f, std::string_view context) : func(std::move(f)), context(context), utime(OTSYS_TIME()), expiration(expiresAfterMs > 0 ? OTSYS_TIME() + expiresAfterMs : 0) { if (this->context.empty()) { g_logger().error("[{}]: task context cannot be empty!", FUNCTION); return; }
Update your issue and follow the issue template.
up