Skip to content

Commit

Permalink
Merge branch 'release/4.0.0-beta.4' into v4
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Welch committed Apr 26, 2022
2 parents 7213a56 + dfebaaa commit ef13b43
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

## 4.0.0-beta.4 - 2022.04.26
### Changed
* Don't log the full exception on a Guzzle error, just log the message

## 4.0.0-beta.3 - 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": "4.0.0-beta.3",
"version": "4.0.0-beta.4",
"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 ef13b43

Please sign in to comment.