Swap ordering of message output and abort

Swap the ordering here, otherwise you never get the output of CommandInvalid

Refs #41
Merge pull request #45 from ctshryock/command_invalid

Swap ordering of message output and abort