better logging of errors for actions
make $message mandatory for action
add rspec and smoke tests for action