Преглед на файлове

* Console log changed to error in case of exception

Michael Van Canneyt преди 1 година
родител
ревизия
8770967f35
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      packages/wasi/src/wasienv.pas

+ 1 - 1
packages/wasi/src/wasienv.pas

@@ -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);