From: Gamid Isayev Date: Mon, 14 Jun 2010 15:17:04 +0000 (-0500) Subject: fix try/catch typo X-Git-Tag: v0.001001~2 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=60e09fce2e152494cd2b9d6d771b8f0909e235e8;p=dbsrgits%2FDBIx-Class-DeploymentHandler.git fix try/catch typo --- diff --git a/lib/DBIx/Class/DeploymentHandler/DeployMethod/SQL/Translator.pm b/lib/DBIx/Class/DeploymentHandler/DeployMethod/SQL/Translator.pm index 52e6b23..25d981a 100644 --- a/lib/DBIx/Class/DeploymentHandler/DeployMethod/SQL/Translator.pm +++ b/lib/DBIx/Class/DeploymentHandler/DeployMethod/SQL/Translator.pm @@ -221,7 +221,7 @@ method _run_sql_array($sql) { } catch { die "$_ (running line '$line')" - } + }; $storage->_query_end($line); } return join "\n", @$sql