Skip to content

Commit

Permalink
Merge branch 'release/1.2.17' into v1
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Welch committed Apr 26, 2022
2 parents f0370dc + 867fbed commit 7b657a7
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Twigpack Changelog

## 1.2.17 - 2022.04.26
### Changed
* Don't log the full exception on a Guzzle error, just log the message

## 1.2.16 - 2022.04.17
### Fixed
* Fix incorrect `User-Agent` header that could cause an error to be thrown
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "nystudio107/craft-twigpack",
"description": "Twigpack is a bridge between Twig and webpack, with manifest.json & webpack-dev-server HMR support",
"type": "craft-plugin",
"version": "1.2.16",
"version": "1.2.17",
"keywords": [
"craftcms",
"craft-plugin",
Expand Down
2 changes: 1 addition & 1 deletion src/helpers/Manifest.php
Original file line number Diff line number Diff line change
Expand Up @@ -624,7 +624,7 @@ function () use ($path, $callback) {
$contents = $response->getBody()->getContents();
}
} catch (Throwable $e) {
Craft::error($e, __METHOD__);
Craft::error($e->getMessage(), __METHOD__);
}
} else {
$contents = @file_get_contents($path);
Expand Down

0 comments on commit 7b657a7

Please sign in to comment.