Error to log and path photo edit