added logging/exception handling to traceview.data.ims