Controller/WikiTagController.php
changeset 60 984ba20c150b
parent 59 ea562f37d7a5
child 61 1bc0ec8ed05b
--- a/Controller/WikiTagController.php	Fri Dec 09 02:21:17 2011 +0100
+++ b/Controller/WikiTagController.php	Fri Dec 09 02:27:20 2011 +0100
@@ -598,12 +598,7 @@
             if($label!=$tag->getLabel()){
                 // We get the Wikipedia informations for the sent label
                 $tag_label_normalized = WikiTagUtils::normalizeTag($label);
-                try {
-                    $wp_response = WikiTagUtils::getWikipediaInfo($tag_label_normalized);
-                }
-                catch (\Exception $e){
-                    throw new \Exception($e->getMessage());
-                }
+                $wp_response = WikiTagUtils::getWikipediaInfo($tag_label_normalized);
                 $tag->setWikipediaInfo($wp_response);
                 // Save datas.
                 $em = $this->getDoctrine()->getEntityManager();