diff --git a/cameraview/src/main/java/com/otaliastudios/cameraview/CameraUtils.java b/cameraview/src/main/java/com/otaliastudios/cameraview/CameraUtils.java index 17e06cf2..bbfdf5fb 100644 --- a/cameraview/src/main/java/com/otaliastudios/cameraview/CameraUtils.java +++ b/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; } }