Fix logging of failed scheduled action