X-Git-Url: https://git.distorted.org.uk/~mdw/ircbot/blobdiff_plain/6ae02d931eb00beac7e4cecbfff0cf9d7afb3512..9bfc2582155aaae38af855e452197a528b0002ac:/bridge.tcl diff --git a/bridge.tcl b/bridge.tcl index 1282aed..64d2d5e 100755 --- a/bridge.tcl +++ b/bridge.tcl @@ -152,6 +152,10 @@ def_ucmd who { return [list $o] } -loadhelp -ensure_connecting -foreach botid $bots { bnbot_ensure_connecting $botid } +if {[catch { + loadhelp + ensure_connecting + foreach botid $bots { bnbot_ensure_connecting $botid } +} emsg]} { + fail "startup: $emsg" +}