VNC-151 Replace assert with error logging

This commit is contained in:
El 2026-01-30 12:16:46 +00:00
parent 7d4e78e4e7
commit cadd5a9546
No known key found for this signature in database
GPG Key ID: 205388FEB607950A

View File

@ -128,7 +128,7 @@ namespace rfb {
const auto &screen = layout.screens[i];
auto id = screen.id;
if (id > T) {
assert("Wrong id");
vlog.error("Wrong id");
id = 0;
}