aboutsummaryrefslogtreecommitdiff
path: root/libBasicTableOperations.tcl
diff options
context:
space:
mode:
authorEugeniy Mikhailov <evgmik@gmail.com>2013-12-08 22:06:14 -0500
committerEugeniy Mikhailov <evgmik@gmail.com>2013-12-08 22:06:14 -0500
commit86173e84ba25ba6752337fea56ad67d9bff0b843 (patch)
tree0c6274da7e5e97075f0388d98ded5975a4d82b5f /libBasicTableOperations.tcl
parent70c0855578332ceb48772fee5d5abaf066b99ab1 (diff)
downloadGradeBook-86173e84ba25ba6752337fea56ad67d9bff0b843.tar.gz
GradeBook-86173e84ba25ba6752337fea56ad67d9bff0b843.zip
debugging improved in DeleteColumnFromTable
Diffstat (limited to 'libBasicTableOperations.tcl')
-rwxr-xr-xlibBasicTableOperations.tcl6
1 files changed, 3 insertions, 3 deletions
diff --git a/libBasicTableOperations.tcl b/libBasicTableOperations.tcl
index 268845e..5374171 100755
--- a/libBasicTableOperations.tcl
+++ b/libBasicTableOperations.tcl
@@ -102,11 +102,11 @@ proc DeleteColumnFromTable { table columnname } {
COMMIT;"
set err [catch {db eval $eval_str } errStat]
if { $err } {
- htmlErrorMsg $errStat
- dbg "the following error happen: $errStat" msg_level_critical
+ htmlErrorMsg $errStat DeleteColumnFromTable
+ dbg "the following error happen: $errStat" msg_level_critical DeleteColumnFromTable
}
} else {
- htmlErrorMsg "No column $columnname in the table $table"
+ htmlErrorMsg "No column $columnname in the table $table" DeleteColumnFromTable
}
}