Browse Source

pas2js: comment

mattias 3 years ago
parent
commit
0b5c8030e4
1 changed files with 2 additions and 0 deletions
  1. 2 0
      utils/pas2js/httpcompiler.pp

+ 2 - 0
utils/pas2js/httpcompiler.pp

@@ -583,7 +583,9 @@ begin
     exit;
   Msg:=Format('(Proxy redirect) location: %s, Method: %s, From: %s, to: %s',[aLocation,aMethod,aFromURl,atoURL]);
   if IsConsole then
+    {AllowWriteln}
     Writeln(FormatDateTime('yyyy-mm-dd hh:nn:ss.zzz',Now),' [',etInfo,'] ',Msg)
+    {AllowWriteln-}
   else
     inherited DoLog(etInfo, Msg);
 end;