activescott / activescott/serverless-aws-static-file-handler

The 404 error page renders literal {errorText}

オープン
#135 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
bug good first issue help wanted
主要言語
JavaScript
スター
51
フォーク
14
平均マージ
1日 8時間
マージ済み PR(30日)
4

説明

### 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.

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。