Template fail silently

Related to https://github.com/tornadoweb/tornado/issues/1167