Log errors when writing the image to a file (#960)

Co-authored-by: Mattia Iavarone <mat.iavarone@gmail.com>
pull/941/head^2
Philippe Banwarth 4 years ago committed by GitHub
parent 40ace54c19
commit 6aa2d3a489
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      cameraview/src/main/java/com/otaliastudios/cameraview/CameraUtils.java

@ -94,6 +94,7 @@ public class CameraUtils {
stream.flush();
return file;
} catch (IOException e) {
LOG.e("writeToFile:", "could not write file.", e);
return null;
}
}

Loading…
Cancel
Save