Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | In "local" and "server" modes, if a TCL error occurs in the page processing routine, write that error onto standard output in addition to sending it back as the reply to request. |
---|---|
Downloads: | Tarball | ZIP archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
99b13e374cabcdb91e446f093484776c |
User & Date: | drh 2018-02-16 19:24:34.884 |
Context
2018-02-18
| ||
23:45 | Allow "%html%(...)%" as an alternative to "%html(...)" for use in cases where the "..." contains one or more ")" characters. (check-in: a3a740ad51 user: drh tags: trunk) | |
2018-02-16
| ||
19:24 | In "local" and "server" modes, if a TCL error occurs in the page processing routine, write that error onto standard output in addition to sending it back as the reply to request. (check-in: 99b13e374c user: drh tags: trunk) | |
2018-02-14
| ||
01:56 | In the formajax02.tcl example, change the name of the AJAX accept procedure to "acceptajax" which makes more sense than the former name of "acceptjson". (check-in: d5adad95cd user: drh tags: trunk) | |
Changes
Changes to wapp.tcl.
︙ | ︙ | |||
637 638 639 640 641 642 643 644 645 646 647 648 649 650 | if {[catch { if {$mname!="" && [llength [info proc wapp-page-$mname]]>0} { wapp-page-$mname } else { wapp-default } } msg]} { wapp-reset wapp-reply-code "500 Internal Server Error" wapp-mimetype text/html wapp-trim { <h1>Wapp Application Error</h1> <pre>%html($::errorInfo)</pre> } | > > > | 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 | if {[catch { if {$mname!="" && [llength [info proc wapp-page-$mname]]>0} { wapp-page-$mname } else { wapp-default } } msg]} { if {[wapp-param WAPP_MODE]=="local" || [wapp-param WAPP_MODE]=="server"} { puts "ERROR: $::errorInfo" } wapp-reset wapp-reply-code "500 Internal Server Error" wapp-mimetype text/html wapp-trim { <h1>Wapp Application Error</h1> <pre>%html($::errorInfo)</pre> } |
︙ | ︙ |