mirror of
https://gitlab.silvrtree.co.uk/martind2000/nci.git
synced 2025-01-25 18:36:19 +00:00
avoid silent errors
This commit is contained in:
parent
80fbc4e902
commit
47821b4bf0
@ -30,6 +30,7 @@ define([
|
||||
onReadAll: function() {
|
||||
var self = this;
|
||||
resource.sync('read', function(err, builds) {
|
||||
if (err) throw err;
|
||||
self.builds = builds;
|
||||
self.trigger(self.builds);
|
||||
});
|
||||
|
@ -15,6 +15,7 @@ define([
|
||||
onReadAll: function() {
|
||||
var self = this;
|
||||
resource.sync('read', function(err, projects) {
|
||||
if (err) throw err;
|
||||
self.trigger(projects);
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user