Skip to content

Add Message History Error posting to the MVC package  #3

@tommck

Description

@tommck

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();
    }

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions