code: function callHandler(handler, argsArray, handlerClass) {
      try {
        return handler.apply(grunt.task.current, argsArray);
      } catch (e) {
        grunt.log.error(e);
        grunt.fail.warn(handlerClass + ' failed.');
      }
    }
docs: Wrap handler