git://git.jankratochvil.net
/
MyWeb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
22a01f1
)
Log web &fatal info to http error logs.
author
short
<>
Wed, 5 Jan 2005 02:49:19 +0000
(
02:49
+0000)
committer
short
<>
Wed, 5 Jan 2005 02:49:19 +0000
(
02:49
+0000)
Web.pm
patch
|
blob
|
history
diff --git
a/Web.pm
b/Web.pm
index
cf02915
..
c6a0452
100644
(file)
--- a/
Web.pm
+++ b/
Web.pm
@@
-289,6
+289,7
@@
sub fatal (;$)
my($msg)=@_;
$msg="UNKNOWN" if !$msg;
+ cluck "FATAL: $msg";
$W->{"indexme"}=0; # For the case no heading was sent yet.
$W->{"heading_done"}=0; # for the case of already sent {"header_only"}==1