Errors in taToolExecuteAction will not pass silently.

This little line made tool debugging really hard - and with this little fix it gets a bit easier :)

Try debugging this:

    taRegisterTool('setColor', {
        iconclass: 'fa fa-tint',
        tooltiptext: 'hahaha',
        action: function (deferred) {
            var container = editorScope.displayElements.popoverContainer;
            debugger;
            return this.$editor().wrapSelection('forecolor', 'red', null);
        },
    });

The action gets executed, but first line throws and an exception and execution never gets to the debugger statement. With this fix you at least get an error message in console.