xpcall(function ()
local init_f, err = loadfile(torchbear.init_filename)
if not init_f then error(err) end
local handler = init_f()
if handler then
torchbear.handler = handler
end
end, function (msg)
msg = tostring(msg)
local trace = debug.traceback(msg, 3)
log.error(trace)
end)
if not torchbear.handler then
log.debug("No handler specified")
end