Log errors when writing the image to a file

pull/960/head
bwt 5 years ago
parent e3fcef286f
commit 2d2546983f
  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