Skip to content

Commit 1d51181

Browse files
committed
chore(connect): errorHandlingは例外フローとして分ける
1 parent ad819cb commit 1d51181

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ja/connect/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,8 @@ Connectでは`app.stack`に_middleware_を配列として保持しています
6969
- nosniff
7070
- hello
7171

72-
エラーハンドリングの_middleware_はエラー時のみ呼ばれるため例外なので、
73-
[nosniff.js](#nosniff.js) -> [hello.js](#hello.js) と呼び出されます
72+
エラーハンドリングの_middleware_は処理中にエラーが起きた時のみ呼ばれます。
73+
そのため、通常は [nosniff.js](#nosniff.js) -> [hello.js](#hello.js) の順で呼び出されます
7474

7575
[import nosniff.js](../../src/connect/nosniff.js)
7676

0 commit comments

Comments
 (0)