diff --git a/silkaj/wot_tools.py b/silkaj/wot_tools.py
index b74248efbcb2f0fb305788caeb7b3ea611dc67b9..2c2d72d2424a4a6c98c3c15b3861c05e7895b914 100644
--- a/silkaj/wot_tools.py
+++ b/silkaj/wot_tools.py
@@ -13,6 +13,8 @@
 # You should have received a copy of the GNU Affero General Public License
 # along with Silkaj. If not, see <https://www.gnu.org/licenses/>.
 
+import urllib
+
 from duniterpy.api.bma import wot
 from duniterpy.api.errors import DuniterError
 
@@ -56,8 +58,8 @@ def wot_lookup(identifier):
         return results["results"]
     except DuniterError as e:
         message_exit(e.message)
-    except ValueError as e:
-        pass
+    except urllib.error.HTTPError as e:
+        message_exit(e)
 
 
 def identities_from_pubkeys(pubkeys, uids):