Skip to content

Modify Japanese - #620

Merged
crandmck merged 1 commit into
expressjs:gh-pagesfrom
hiroppy:feature/modify-Japanese-reference
Apr 22, 2016
Merged

crandmck merged 1 commit into
expressjs:gh-pagesfrom
hiroppy:feature/modify-Japanese-reference

Conversation

@hiroppy

@hiroppy hiroppy commented Apr 20, 2016 •

Copy link
Copy Markdown

Hello :)

I modified Japanese.

cheers.

@dougwilson

Copy link
Copy Markdown
Contributor

ping @blakeembrey

@crandmck

Copy link
Copy Markdown
Member

Also @Setogit PTAL

実行しては*ならない* ことの 1 つは、例外がイベント・ループまでたどり着いた場合に生成される `uncaughtException` イベントを listen することです。`uncaughtException` のイベント・リスナーを追加すると、例外が発生したプロセスのデフォルトの動作が変更されます。プロセスは、例外に関係なく実行し続けます。この方法でアプリケーションの異常終了を防止できそうに思えますが、キャッチされていない例外が発生した後にアプリケーションの実行を続けるのは危険な手法であり、お勧めしません。プロセスの状態の信頼性と予測可能性が低くなるためです。

さらに、`uncaughtException` の使用は、正式に[粗雑なもの](https://nodejs.org/api/process.html#process_event_uncaughtexception)として認められており、これをコアから削除するための[提案](https://github.com/nodejs/node-v0.x-archive/issues/2582)が出されています。したがって、`uncaughtException` を listen するのは悪い方法です。この理由から、複数のプロセスとスーパーバイザーなどの使用をお勧めしています。異常終了と再始動は、場合によってはエラーから復旧するための最も信頼できる方法となります。
さらに、`uncaughtException` の使用は、正式に[粗雑なもの](https://nodejs.org/api/process.html#process_event_uncaughtexception)として認められており、これをコアから削除するための[提案](https://github.com/nodejs/node-v0.x-archive/issues/2582)が出されています。したがって、`uncaughtException` を listen するのは悪い方法です。この理由から複数のプロセスとスーパーバイザーなどの使用をお勧めしています。異常終了と再始動は、場合によってはエラーから復旧するための最も信頼できる方法となります。

@Setogit Setogit Apr 22, 2016 •

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Again, the original uses the Japanese comma in the right way. Removing it does not make a major downgrade either.

@Setogit

Setogit commented Apr 22, 2016

Copy link
Copy Markdown

commented. thanks.

On Thu, Apr 21, 2016 at 1:08 PM, Rand McKinney [email protected]
wrote:

Also @Setogit https://github.com/setogit PTAL

—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
#620 (comment)

@crandmck

Copy link
Copy Markdown
Member

Thanks @Setogit I'll accept the PR, even though there may be a few changes that don't make much diff one way or the other.

Thanks @abouthiroppy

@crandmck
crandmck merged commit 16eee04 into expressjs:gh-pages Apr 22, 2016
@hiroppy
hiroppy deleted the feature/modify-Japanese-reference branch April 23, 2016 23:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants