activescott / activescott/serverless-aws-static-file-handler
The 404 error page renders literal {errorText}
Open
bug
good first issue
help wanted
- Dominant language
- JavaScript
- Stars
- 51
- Forks
- 14
- Avg merge
- 1d 8h
- Merged PRs (30d)
- 4
Description
### Expected behavior:
The 404 result presents the actual internal error text in development environments
### Actual behavior:
Literal `{errorText}` is rendered which is a bit less than useful for debugging purposes.
### Steps to fix the problem:
In `async responseAsError(errorText, statusCode)` replace
```
{{errorText}}
```
with
```
${errorText}
```
or similar.
Contributor guide
Assessment
This issue has not been assessed yet.