fixed exception getting 'lost' when trying to load an output type for a more specific template fails, too