@adobe/helix-html-pipeline 1.8.9 → 1.8.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7 -0
- package/package.json +1 -1
- package/src/html-pipe.js +2 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
## [1.8.10](https://github.com/adobe/helix-html-pipeline/compare/v1.8.9...v1.8.10) (2022-11-11)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* log 404 as info ([#193](https://github.com/adobe/helix-html-pipeline/issues/193)) ([c642ff6](https://github.com/adobe/helix-html-pipeline/commit/c642ff6302b95a1b12fdeafc1d5d32d00c98b7d1))
|
|
7
|
+
|
|
1
8
|
## [1.8.9](https://github.com/adobe/helix-html-pipeline/compare/v1.8.8...v1.8.9) (2022-11-09)
|
|
2
9
|
|
|
3
10
|
|
package/package.json
CHANGED
package/src/html-pipe.js
CHANGED
|
@@ -119,7 +119,8 @@ export async function htmlPipe(state, req) {
|
|
|
119
119
|
} else {
|
|
120
120
|
res.status = 500;
|
|
121
121
|
}
|
|
122
|
-
|
|
122
|
+
const level = res.status >= 500 ? 'error' : 'info';
|
|
123
|
+
log[level](`pipeline status: ${res.status} ${res.error}`, e);
|
|
123
124
|
res.headers.set('x-error', cleanupHeaderValue(res.error));
|
|
124
125
|
|
|
125
126
|
// turn any URL errors into a 400, since they are user input
|