This repository has been archived by the owner. It is now read-only.

Elm: error mail #208

Closed
Painyjames opened this Issue Nov 18, 2015 · 2 comments

Comments

Projects
None yet
2 participants
@Painyjames
Copy link

Painyjames commented Nov 18, 2015

I was wondering if it would be possible to have something in place to deal with error emails.
It could be a delegate to implement on the startup or something of the sort.

services.ConfigureElm(elmOptions =>
            {
            elmOptions.OnErrorEmail = (ex, args) => emailPlatform.SendEmail());
            });

And then having ElmLogger to call OnErrorEmail if it's assigned.

@Eilon

This comment has been minimized.

Copy link
Member

Eilon commented Nov 18, 2015

ELM is only about having a page on the site for an admin or developer to see recent log entries. It's not about reporting errors via email.

@Painyjames

This comment has been minimized.

Copy link

Painyjames commented Nov 19, 2015

Oh I see.
Started working on a place that is using it and it seemed that was a replacement for Elmah, so I assumed that functionality could be part of the project.

Closing the issue now.

@Painyjames Painyjames closed this Nov 19, 2015

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.