Log invalid number inputs
// FREEBIE
This commit is contained in:
parent
40402b8e88
commit
43071d94d6
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@
|
|||
confirmNumber: function(number) {
|
||||
var parsed = libphonenumber.parse(number);
|
||||
if (!libphonenumber.isValidNumber(parsed)) {
|
||||
throw new Error('Invalid number');
|
||||
throw new Error('Invalid number ' + number);
|
||||
}
|
||||
this.$('#step4 .number').text(libphonenumber.format(
|
||||
parsed,
|
||||
|
|
Loading…
Reference in a new issue