Skip to content

Commit 707bd4f

Browse files
committed
add report with image error
1 parent 0756428 commit 707bd4f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

VideoOS/VenvyLibrary/src/main/java/cn/com/venvy/common/image/ImageLoadResultAdapter.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55

66
import java.lang.ref.WeakReference;
77

8+
import cn.com.venvy.common.report.Report;
9+
810
/**
911
* Created by yanjiangbo on 2018/1/11.
1012
*/
@@ -29,6 +31,7 @@ public void loadFailure(@Nullable WeakReference<? extends IImageView> imageView,
2931
if (mImageLoaderResult != null) {
3032
mImageLoaderResult.loadFailure(imageView, url, e);
3133
}
34+
Report.report(Report.ReportLevel.w, ImageLoadResultAdapter.class.getName(), buildReportString(e, url));
3235
}
3336

3437
private static String buildReportString(Exception exception, String url) {

0 commit comments

Comments
 (0)