Skip to content

Commit

Permalink
Partially fix #4015
Browse files Browse the repository at this point in the history
  • Loading branch information
andris-sevcenko committed Mar 21, 2019
1 parent e5ad63f commit 0b19783
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG-v3.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
- Fixed a bug where Craft wasn’t removing hyphens and other symbols from auto-generated asset titles. ([#4011](https://github.com/craftcms/cms/issues/4011))
- Fixed a PHP error that occurred when calling `craft\services\EntryRevisions::getDraftById()` or `getVersionById()` for a draft/version that belonged to a soft-deleted entry. ([#4013](https://github.com/craftcms/cms/issues/4013))
- Fixed a bug where Craft wasn’t respecting the site selection for routes defined in Settings → Routes. ([#4021](https://github.com/craftcms/cms/issues/4021))
- Fixed an error where exception would not be logged if encountering an error while applying project config changes using the `project-config/sync` console command ([#4015](https://github.com/craftcms/cms/issues/4015))

## 3.1.19 - 2019-03-19

Expand Down
1 change: 1 addition & 0 deletions src/console/controllers/ProjectConfigController.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ public function actionSync(): int
$projectConfig->applyYamlChanges();
} catch (\Throwable $e) {
$this->stderr('error: ' . $e->getMessage() . PHP_EOL, Console::FG_RED);
Craft::$app->getErrorHandler()->logException($e);
return ExitCode::UNSPECIFIED_ERROR;
}
}
Expand Down

0 comments on commit 0b19783

Please sign in to comment.