That means that it will attempt to get the capability and if it's not
there, it won't throw an exception, but rather just return
Optional.empty(). Yeah, we probably actually *do* want an exception thrown
there in the case where we're not in a shell context (probably don't want
vim starting inside of a storm bolt..it'll get confused and angry ;)
On Thu, Mar 9, 2017 at 11:07 PM, Otto Fowler
wrote:
> I was looking at this command that the capabilities functionality in
> Context and I saw that the call for capabilities is:
>
> Optional console = context.getCapability(CONSOLE, false);
>
>
> This means that if we are NOT in CONSOLE, there will not be an error.
> I don’t think this is correct is it?
>