"use strict";

exports.__esModule = true;
exports["default"] = runToolbarActionCallback;
function runToolbarActionCallback(param) {
  var action = param.action;
  var callback = action.callback;
  try {
    return callback && callback(action);
  } catch (e) {
    if (e instanceof Error) {
      console.warn(e.stack);
    }
  }
}
;