* Send correct message in case of unhandled message

This commit is contained in:
Michael Van Canneyt 2024-11-27 11:49:56 +01:00
parent 7cd8b6e74d
commit 3055de55dd

View File

@ -570,7 +570,7 @@ begin
P:=TWorkerExceptionCommand.New;
P.ExceptionClass:='ENotSupportedException';
P.ExceptionMessage:='Unsupported command : '+TJSJSON.Stringify(aCommand);
SendCommand(aCommand);
SendCommand(P);
end;
procedure TWasmThreadSupport.SendCommand(aCommand: TWorkerCommand);