projects
/
Biblio-RFID.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5d4d369
)
recover from errors in scan tags
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Wed, 15 Oct 2014 14:35:16 +0000
(16:35 +0200)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Wed, 15 Oct 2014 14:35:49 +0000
(16:35 +0200)
examples/selfcheck.js
patch
|
blob
|
history
diff --git
a/examples/selfcheck.js
b/examples/selfcheck.js
index
a9cba91
..
3c825bb
100644
(file)
--- a/
examples/selfcheck.js
+++ b/
examples/selfcheck.js
@@
-140,7
+140,10
@@
function scan_tags() {
} else {
console.info('scan_tags');
pending_jsonp++;
- $.getJSON("/scan?callback=?", got_visible_tags);
+ $.getJSON("/scan?callback=?", got_visible_tags).fail( function(data) {
+ console.error('scan error');
+ pending_jsonp--;
+ });
}
if ( tick > 0 ) {