Skip to content
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

Add Message History Error posting to the MVC package #3

Open
tommck opened this issue Dec 3, 2014 · 0 comments
Open

Add Message History Error posting to the MVC package #3

tommck opened this issue Dec 3, 2014 · 0 comments

Comments

@tommck
Copy link
Owner

tommck commented Dec 3, 2014

Add a method like this to the JsTraceController class

    [HttpPost]
    public EmptyResult Error(string errorText, JsTraceMessage[] messages)
    {
        Debug.WriteLine("*********  ERROR *********");
        messages.ForEach(msg =>
        {
            Debug.WriteLine("JsTrace >> {0}", msg);
        });
        return new EmptyResult();
    }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant