Skip to content

Commit

Permalink
replace addError with addWarning
Browse files Browse the repository at this point in the history
  • Loading branch information
takeit committed Oct 16, 2015
1 parent e901088 commit 8d0cc94
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,7 @@
$app['db']->query('ALTER TABLE `topic_translations` ADD `isDefault` INT( 1 ) NULL DEFAULT NULL');
} catch (\Exception $e) {
if ($app['db']->errorCode() !== '42000') {
$upgradeErrors[] = $e->getMessage();
$logger->addError($e->getMessage());
$logger->addWarning($e->getMessage());
}
}

Expand Down

0 comments on commit 8d0cc94

Please sign in to comment.