Skip to content

Commit

Permalink
improved error message for HTTP errors when getting NCList features
Browse files Browse the repository at this point in the history
  • Loading branch information
dkasenberg committed Jul 24, 2013
1 parent 6c6c640 commit 2605032
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/JBrowse/Store/SeqFeature/NCList.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,10 @@ return declare( SeqFeatureStore,
function(error) {
if( error.response.status == 404 ) {
thisB._handleTrackInfo( refData, {}, url );
} else
} else if( error.response.status != 200) {
thisB._failAllDeferred( "Server returned an HTTP " + error.response.status + " error" );
}
else
thisB._failAllDeferred( error );
}
);
Expand Down

0 comments on commit 2605032

Please sign in to comment.