From 0b5c8030e40ec3176d667a3bce0db00222b3a809 Mon Sep 17 00:00:00 2001 From: mattias Date: Sun, 19 Sep 2021 16:55:12 +0200 Subject: [PATCH] pas2js: comment --- utils/pas2js/httpcompiler.pp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/utils/pas2js/httpcompiler.pp b/utils/pas2js/httpcompiler.pp index 6ff421e5a1..176ef45bed 100644 --- a/utils/pas2js/httpcompiler.pp +++ b/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;