diff options
author | Eugeniy Mikhailov <evgmik@gmail.com> | 2016-10-19 15:04:19 -0400 |
---|---|---|
committer | Eugeniy Mikhailov <evgmik@gmail.com> | 2016-10-19 15:20:37 -0400 |
commit | 76f9faa0329addf544f64b814ef20b5895a796ba (patch) | |
tree | fb02cbe035801fa4c6a62ae674128a6352cb5ca5 /GradeBook.tcl | |
parent | b29ab6facf73d844c1cfbb40f7a25f359fffba67 (diff) | |
download | GradeBook-76f9faa0329addf544f64b814ef20b5895a796ba.tar.gz GradeBook-76f9faa0329addf544f64b814ef20b5895a796ba.zip |
grave error is reported via common log facility
Diffstat (limited to 'GradeBook.tcl')
-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: |