Make data collector more robust by actually throwing exception where error happens