-
Notifications
You must be signed in to change notification settings - Fork 1
improve email uploader error handling #220
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
Create TaskDetail E-mail
Changing CommunicationJobTypes.TaskDetail from 10 to 12
tweak geoffs email
Layout tweaks
add admin request url to simplified task update email
update nuget references
Next major release
remove repeat message
Merge master into dev
Tweak Edit Requests
} | ||
catch (UnknownTemplateException) | ||
{ | ||
templateId = CreateNewTemplate(template); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fairly unlikely to happen, but do we have a problem if two hosts run CreateNewTemplate at the same time?
string plain_content = Regex.Replace(GetEmailHtml(template.name), @"<[^>]*>", String.Empty); | ||
plain_content = GetEmailText("Layout").Replace("{{Body}}", plain_content); | ||
|
||
success = CreateNewTemplateVersion(new NewTemplateVersion() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If templates.templates contains more than one item, success will only show the result from the last item.
catch (Exception exc) | ||
{ | ||
foreach (UnsubscribeGroup unsubscribeGroups in templates.deleteUnsubscribeGroups) | ||
ExpandoObject o = new ExpandoObject(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Happy with this for now, but in due course we probably want to log this to Azure Log Analytics rather than Cosmos.
RefreshBehaviour.WaitForFreshData changes look good. |
Add utc conversion
Tweak Task Update email
Use GetLastUpdatedBy
Merge dev into master
Bumps [RestSharp](https://github.com/restsharp/RestSharp) from 106.11.4 to 106.12.0. - [Release notes](https://github.com/restsharp/RestSharp/releases) - [Changelog](https://github.com/restsharp/RestSharp/blob/dev/releasenotes.md) - [Commits](restsharp/RestSharp@106.11.4...106.12) --- updated-dependencies: - dependency-name: RestSharp dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]>
…ionService/CommunicationService.Core/RestSharp-106.12.0 Bump RestSharp from 106.11.4 to 106.12.0 in /CommunicationService/CommunicationService.Core
d5dcf26
to
386242b
Compare
No description provided.