logging exception in appointment#create