diff options
-rwxr-xr-x | GradeBook.tcl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/GradeBook.tcl b/GradeBook.tcl index 8e00c22..16baac9 100755 --- a/GradeBook.tcl +++ b/GradeBook.tcl @@ -128,12 +128,12 @@ dbg $permission_list msg_level_info htmlFooter $permission_list puts "</body>" -logEntryToLogFile ###################### Main script ends ################################# } errStat ] if { $err } { - rawTextToLogFile "Error: $errStat" + addLogEntry Error "$errStat" msg_level_critical htmlErrorMsg "Something went wrong, please, ask admin to have a look at logs around [timestamp]" } +logEntryToLogFile # vim: ts=2 sw=2 foldmethod=indent: |