Warn instead an error

This commit is contained in:
Gustavo Maximiliano Cortez 2017-09-19 16:21:49 -04:00
commit b53c58f8b8
No known key found for this signature in database
GPG key ID: 15EDAD8D9F2EB1AF

View file

@ -8,7 +8,7 @@ angular.module('copayApp.services').factory('addressbookService', function($log,
try { try {
network = (new bitcore.Address(address)).network.name; network = (new bitcore.Address(address)).network.name;
} catch(e) { } catch(e) {
$log.error('No valid bitcoin address. Trying bitcoin cash...'); $log.warn('No valid bitcoin address. Trying bitcoin cash...');
network = (new bitcoreCash.Address(address)).network.name; network = (new bitcoreCash.Address(address)).network.name;
} }
return network; return network;