Overview
Comment: | Fixed output of error in error page |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
60f784c4db484bdf320a782943642e39 |
User & Date: | matt on 2013-01-09 06:20:08 |
Other Links: | manifest | tags |
Context
2013-02-03
| ||
05:25 | Added additional verbage for debug and setup easing check-in: 18e7e965e2 user: matt tags: trunk | |
2013-01-09
| ||
06:20 | Fixed output of error in error page check-in: 60f784c4db user: matt tags: trunk | |
2013-01-05
| ||
20:42 | Added debug-mode helper function check-in: 8a162a1405 user: matt tags: trunk | |
Changes
Modified setup.scm from [5f9d0e6d18] to [f3ad64511f].
︙ | ︙ | |||
86 87 88 89 90 91 92 | (let ((val (session:page-get s:session key))) (session:del! s:session "*sessionvars*" key) val)) (define (s:session-var-del! key) (session:del! s:session "*sessionvars*" key)) | > > > > | | 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 | (let ((val (session:page-get s:session key))) (session:del! s:session "*sessionvars*" key) val)) (define (s:session-var-del! key) (session:del! s:session "*sessionvars*" key)) ;; utility to get all vars as hash table (define (s:session-get-sessionvars) (sdat-get-sessionvars s:session)) ;; inputs (define (s:get-input key) (session:get-input s:session key)) (define (s:load-model model) (session:load-model s:session model)) (define (s:model-path model) |
︙ | ︙ |
Modified stmlrun.scm from [941cdf9333] to [ced526ca73].
︙ | ︙ | |||
16 17 18 19 20 21 22 | exn (begin (print "Content-type: text/html") (print "") (print "<html> <head> <title>EXCEPTION</title> </head> <body>") (print " QUERY_STRING is: <b> " (get-environment-variable "QUERY_STRING") " </b> <br>") (print "<pre>") | | > | 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 | exn (begin (print "Content-type: text/html") (print "") (print "<html> <head> <title>EXCEPTION</title> </head> <body>") (print " QUERY_STRING is: <b> " (get-environment-variable "QUERY_STRING") " </b> <br>") (print "<pre>") ;; (print " EXCEPTION: " ((condition-property-accessor 'exn 'message) exn)) (print-error-message exn) (print-call-chain) (print "</pre>") (print "<table>") (for-each (lambda (var) (print "<tr><td>" (car var) "</td><td>" (cdr var) "</td></tr>")) (get-environment-variables)) (print "</table>") |
︙ | ︙ |