Skip to content

Commit bce20cf

Browse files
committed
add alert to ajax call failure
1 parent e090c73 commit bce20cf

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

js/timer.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -350,6 +350,8 @@
350350
.always(function() {
351351
});
352352
});
353+
}).fail(function() {
354+
alert( "error getting work items" );
353355
});
354356
}
355357

0 commit comments

Comments
 (0)