CVS update: /cowiki/htdocs/setup/class/task/
[email protected] 6 May 2005 02:15:22 -0000
| Newsgroups | gmane.comp.php.cowiki.cvs |
|---|---|
| Message-ID | <[email protected]> |
User: dgorski Date: 2005/05/05 19:15:22 Modified: cowiki/htdocs/setup/class/task/class.TaskMigrator.php Log: Catch StorageExceptions directly File Changes: Directory: /cowiki/htdocs/setup/class/task/ =========================================== File [changed]: class.TaskMigrator.php Url: http://cowiki.tigris.org/source/browse/cowiki/htdocs/setup/class/task/class.TaskMigrator.php?r1=1.3&r2=1.4 Delta lines: +6 -4 ------------------- --- class.TaskMigrator.php 29 Apr 2005 00:47:44 -0000 1.3 +++ class.TaskMigrator.php 6 May 2005 02:15:19 -0000 1.4 @@ -2,7 +2,7 @@ /** * - * $Id: class.TaskMigrator.php,v 1.3 2005/04/29 00:47:44 dgorski Exp $ + * $Id: class.TaskMigrator.php,v 1.4 2005/05/06 02:15:19 dgorski Exp $ * * This file is part of coWiki. coWiki is free software under the terms of * the GNU General Public License (GPL). Read the LICENSE file. If you did @@ -17,7 +17,7 @@ * @author Daniel T. Gorski, <[email protected]> * @copyright (C) Daniel T. Gorski, {@link http://www.develnet.org} * @license http://www.gnu.org/licenses/gpl.html - * @version $Revision: 1.3 $ + * @version $Revision: 1.4 $ * */ @@ -76,8 +76,10 @@ $Mig->perform(); } catch (MigratorException $me) { - $this->addError($me->getExceptionMessage()); - return false; + return $this->addError($me->getExceptionMessage()); + + } catch (StorageException $se) { + return $this->addError($se->getExceptionMessage()); } }