Add an else here to log a warning that the profiler they are using isn't returning a report, along with at least the type_id to key in to which profiler it is. That will give some clue as to why expected data isn't found in the returned value.