bdd: Log error code on geolocation errors.

This commit is contained in:
Florian Bruhin 2016-01-14 19:04:48 +01:00
parent e7a816c0c0
commit b8a50dc475

View File

@ -14,7 +14,8 @@
console.log("geolocation permission denied");
break;
default:
console.log("[FAIL] geolocation error: " + error.message);
console.log("[FAIL] geolocation error " + error.code +
": " + error.message);
break;
}
}