Skip to content

Commit e81b7a4

Browse files
committed
Adding test logging
1 parent 74dbd50 commit e81b7a4

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

plotr.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,11 @@
292292

293293
var csvURL = 'https://docs.google.com/a/ushahidi.com/spreadsheets/d/1NXG2znwFFdbyK83wHmN00AEp_t_OMAoRkShicl_y7Wk/pub?output=csv';
294294

295-
d3.csv(csvURL, function(csv) {
295+
d3.csv(csvURL, function(error, csv) {
296+
if (error) {
297+
console.log(error);
298+
return;
299+
}
296300
tidyData(csv);
297301
initialRender();
298302
render();

0 commit comments

Comments
 (0)