chore(debug): admin test page generates a log entry
This commit is contained in:
parent
a452b032c4
commit
7298b00628
@ -115,6 +115,8 @@ postAdminTestR = do
|
|||||||
, formAttrs = [("uw-async-form", "")]
|
, formAttrs = [("uw-async-form", "")]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
now <- liftIO getCurrentTime
|
||||||
|
$logInfoS "TEST" $ "Admin Test Page was retrieved at " <> tshow now <> "." -- to ensure that we can read the right log.
|
||||||
|
|
||||||
let demoFormAction (_i,_b,_d) = addMessage Info "All ok."
|
let demoFormAction (_i,_b,_d) = addMessage Info "All ok."
|
||||||
((demoResult, formWidget),formEnctype) <- runFormPost $ makeDemoForm 7
|
((demoResult, formWidget),formEnctype) <- runFormPost $ makeDemoForm 7
|
||||||
|
|||||||
Reference in New Issue
Block a user