Skip to content

Commit

Permalink
make pretty fatal errors when refseq loading fails
Browse files Browse the repository at this point in the history
  • Loading branch information
rbuels committed Aug 28, 2012
1 parent 352909d commit a78d5af
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/JBrowse/Browser.js
Expand Up @@ -133,6 +133,9 @@ Browser.prototype.loadRefSeqs = function() {
load: dojo.hitch( this, function(o) {
this.addRefseqs(o);
this.onRefSeqsLoaded();
}),
error: dojo.hitch( this, function(e) {
this.fatalError('Failed to load reference sequence info: '+e);
})
});
};
Expand Down

0 comments on commit a78d5af

Please sign in to comment.