Wapp

Check-in [e5fa3551e4]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Change the wapp-crash-handler interface so that it takes no arguments.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: e5fa3551e4ca53fad45fbabb1b851ff5720bce53a28f946519b6d497a617b21b
User & Date: drh 2024-11-07 13:42:30.940
Context
2024-11-07
19:34
Improved documentation of substitution operators. Documentation for the wapp-crash-handler interface. (check-in: f83e99d413 user: drh tags: trunk)
13:42
Change the wapp-crash-handler interface so that it takes no arguments. (check-in: e5fa3551e4 user: drh tags: trunk)
2024-11-06
17:44
Updates to the MacOS makefile. (check-in: 03f1783d7e user: drh tags: trunk)
Changes
Unified Diff Ignore Whitespace Patch
Changes to wapp.tcl.
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
    }
  } 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>
      }
    }







|







727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
    }
  } 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]} {
      wapp-reply-code "500 Internal Server Error"
      wapp-mimetype text/html
      wapp-trim {
        <h1>Wapp Application Error</h1>
        <pre>%html($::errorInfo)</pre>
      }
    }