bdd: Log error code on geolocation errors.
This commit is contained in:
parent
e7a816c0c0
commit
b8a50dc475
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user