726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
|
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
|
+
+
-
-
-
-
-
+
+
+
+
+
+
|
wapp-default
}
} msg]} {
if {[wapp-param WAPP_MODE]=="local" || [wapp-param WAPP_MODE]=="server"} {
puts "ERROR: $::errorInfo"
}
wapp-reset
if {[info command wapp-crash-handler]==""
|| [catch {wapp-crash-handler $::errorInfo}]} {
wapp-reply-code "500 Internal Server Error"
wapp-mimetype text/html
wapp-trim {
<h1>Wapp Application Error</h1>
<pre>%html($::errorInfo)</pre>
wapp-reply-code "500 Internal Server Error"
wapp-mimetype text/html
wapp-trim {
<h1>Wapp Application Error</h1>
<pre>%html($::errorInfo)</pre>
}
}
dict unset wapp .new-cookies
}
wapp-before-reply-hook
# Transmit the HTTP reply
#
|