Mike, you are right. It is not very intuitive
The reason there is no log is the error happens before the step command is sent to the agent therefore the step never ran therefore no log.
Please open an enhancement request with support to remove the log icon in that case. I think that would decrease some of the confusion.