mirror of
https://gitlab.com/freepascal.org/fpc/pas2js.git
synced 2025-09-06 08:40:29 +02:00
* Console log changed to error in case of exception
This commit is contained in:
parent
c697d58176
commit
8770967f35
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user