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(); stream.flush();
return file; return file;
} catch (IOException e) { } catch (IOException e) {
LOG.e("writeToFile:", "could not write file.", e);
return null; return null;
} }
} }

Loading…
Cancel
Save