Added error handling from the ExecutableCommand for controller