log the actions causes the error