mirror of
https://github.com/kasmtech/KasmVNC.git
synced 2026-07-17 16:36:49 +00:00
VNC-151 Replace assert with error logging
This commit is contained in:
parent
7d4e78e4e7
commit
cadd5a9546
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue