private void CallAntidoteInternal(object parameter) { ApiOle api = GetAntidoteInstance(); if (api != null) { api.LanceOutilDispatch(_antidoteClient, (string)parameter); } }
private void CallAntidoteInternal(object parameter) { try { ApiOle api = GetAntidoteInstance(); if (api != null) { api.LanceOutilDispatch(_antidoteClient, (string)parameter); } }catch (Exception ex) { Log.Error(ex, "An error appeared while starting antidote!"); } }