private void AddCommunityCredits(Entry entry) { try { CommunityCreditNotification.AddCommunityCredits(entry, Url, Blog); } catch (CommunityCreditNotificationException ex) { Log.WarnFormat(Resources.XmlRpcWarn_CommunityCredits, Url.EntryUrl(entry).ToFullyQualifiedUrl(Blog).ToString(), ex.Message); } catch (Exception ex) { Log.Error(Resources.XmlRpcError_CommunityCredits, ex); } }
private void AddCommunityCredits(Entry entry) { try { CommunityCreditNotification.AddCommunityCredits(entry, Url, Blog); } catch (CommunityCreditNotificationException ex) { Messages.ShowError(String.Format(Constants.RES_EXCEPTION, Resources.EntryEditor_ErrorSendingToCommunityCredits, ex.Message)); } catch (Exception ex) { Messages.ShowError(String.Format(Constants.RES_EXCEPTION, Resources.EntryEditor_ErrorSendingToCommunityCredits, ex.Message)); } }