added image_id on insert animal
remove error_log from repo
remove error_log