mirror of
https://github.com/kasmtech/KasmVNC.git
synced 2026-02-06 11:27:19 +00:00
VNC-151 Replace assert with error logging
This commit is contained in:
parent
7d4e78e4e7
commit
cadd5a9546
@ -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;
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user