Index: openacs-4/packages/boomerang/tcl/boomerang-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/boomerang/tcl/boomerang-procs.tcl,v diff -u -r1.13.2.18 -r1.13.2.19 --- openacs-4/packages/boomerang/tcl/boomerang-procs.tcl 30 Oct 2021 12:08:58 -0000 1.13.2.18 +++ openacs-4/packages/boomerang/tcl/boomerang-procs.tcl 18 Jan 2022 13:47:01 -0000 1.13.2.19 @@ -84,7 +84,7 @@ set :json_map($orig) $new } - :object method ms_to_utc {ms} { + :object method ms_to_utc {ms:integer} { set seconds [expr {$ms / 1000}] set fraction [format %03d [expr {$ms - ($seconds * 1000)}]] return [clock format $seconds -format "%Y-%m-%dT%H:%M:%S" -gmt 1].${fraction}Z @@ -159,6 +159,9 @@ } elseif {![dict exists $entries rt.tstart]} { ns_log notice "boomerang: no rt.tstart value in $entries" set record 0 + } elseif {![string is integer -strict [dict get $entries rt.tstart]]} { + ns_log notice "boomerang: rt.tstart is not a valid timestamp <[dict get $entries rt.tstart]>" + set record 0 } else { dict set entries @timestamp [:ms_to_utc [dict get $entries rt.tstart]] #