Added error handling around the actions being run.
Better handling of errors within actions