Skip to content

/Home/GetBuilds/ ajax doesn't report failure on error #3

@leecooknz

Description

@leecooknz

I have BuildMonitor set up on myServer:81/buildMonitor/ and found that the automatic refresh didn't work.

The problem was that I needed to change home.js to use url '/buildMonitor/Home/GetBuilds/'; however it would have been nice if the ajax function had implemented some way of reporting back if the query fails, for example:

        error: function(XMLHttpRequest, textStatus, errorThrown) {
            $("#last-updated").text("Ajax error: " + textStatus + " Details: " + errorThrown); 
        } 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions