Added error-handling to grab-action