Skip to content

Commit

Permalink
Merge pull request #432 from dnnsoftware/bug/DNN-6746
Browse files Browse the repository at this point in the history
DNN-6746: do not stop progress bar if web method request return 500 on azure environment.
  • Loading branch information
Cathal Connolly authored and Cathal Connolly committed Apr 22, 2015
2 parents 8696e77 + 581b5e1 commit 7f73bd4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Website/Install/InstallWizard.aspx
Original file line number Diff line number Diff line change
Expand Up @@ -498,6 +498,10 @@
//Call PageMethod which triggers long running operation
PageMethods.RunInstall(function () {
}, function (err) {
if (err._statusCode === 500 && !err._stackTrace) { //the error thrown by azure proxy, then need ignore.
return;
}
$.stopProgressbarOnError();
});
$('#seeLogs, #visitSite, #retry').addClass('dnnDisabledAction');
Expand Down

0 comments on commit 7f73bd4

Please sign in to comment.