From 2d4ea456085c67bdd0539c6b481f7561b5977b3e Mon Sep 17 00:00:00 2001 From: Michael Krelin Date: Sat, 16 Jun 2007 09:47:38 +0000 Subject: remove catch-all nop handler --- (limited to 'lib') diff --git a/lib/consumer.cc b/lib/consumer.cc index 30a5507..12866f0 100644 --- a/lib/consumer.cc +++ b/lib/consumer.cc @@ -142,14 +142,12 @@ namespace opkele { p["trust_root"] = trust_root; p["return_to"] = return_to; try { - try { - string ah = find_assoc(server)->handle(); - p["assoc_handle"] = ah; - }catch(failed_lookup& fl) { - string ah = associate(server)->handle(); - p["assoc_handle"] = ah; - } - }catch(exception& e) { } + string ah = find_assoc(server)->handle(); + p["assoc_handle"] = ah; + }catch(failed_lookup& fl) { + string ah = associate(server)->handle(); + p["assoc_handle"] = ah; + } if(ext) ext->checkid_hook(p,identity); return p.append_query(server); } -- cgit v0.9.0.2