Added logs to troubleshoot imagemin error