raise IOError instead of starting trace