* Console log changed to error in case of exception

This commit is contained in:
Michael Van Canneyt 2024-08-20 17:05:51 +02:00
parent c697d58176
commit 8770967f35

View File

@ -527,7 +527,7 @@ begin
end;
end;
if FPreparedStartDescriptor.RunExceptionClass<>'' then
Console.log('Running Webassembly resulted in exception. Exception class: ',FPreparedStartDescriptor.RunExceptionClass,', message:',FPreparedStartDescriptor.RunExceptionMessage);
Console.error('Running Webassembly resulted in exception. Exception class: ',FPreparedStartDescriptor.RunExceptionClass,', message:',FPreparedStartDescriptor.RunExceptionMessage);
end;
procedure TWASIHost.DoStdWrite(Sender: TObject; const aOutput: String);