From f5deb9e6ce6b45cea40950662f2ecef38149675b Mon Sep 17 00:00:00 2001
From: Jan Grewe <jan@faked.org>
Date: Fri, 3 Oct 2014 19:47:07 +0200
Subject: [PATCH] search for card again if enabling S&V failed

---
 app.js | 1 +
 1 file changed, 1 insertion(+)

diff --git a/app.js b/app.js
index 73ad1d9..16868e6 100644
--- a/app.js
+++ b/app.js
@@ -158,6 +158,7 @@ function enableShootAndView(ip) {
 	
 	client.on('error', function(err) {
 		console.log('Shoot & View error: '+err);
+		findCard();
 	});
 	
 	client.on('data', function(data) {
-- 
GitLab