| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent e4d1042 commit e4f6141
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -476,8 +476,11 @@ EnvironmentOptionsParser::EnvironmentOptionsParser() { | |||
| 476 | 476 | &EnvironmentOptions::trace_warnings, | |
| 477 | 477 | kAllowedInEnvironment); | |
| 478 | 478 | AddOption("--unhandled-rejections", | |
| 479 | - "define unhandled rejections behavior. Options are 'strict' (raise " | ||
| 480 | - "an error), 'warn' (enforce warnings) or 'none' (silence warnings)", | ||
| 479 | + "define unhandled rejections behavior. Options are 'strict' " | ||
| 480 | + "(always raise an error), 'throw' (raise an error unless " | ||
| 481 | + "'unhandledRejection' hook is set), 'warn' (log a warning), 'none' " | ||
| 482 | + "(silence warnings), 'warn-with-error-code' (log a warning and set " | ||
| 483 | + "exit code 1 unless 'unhandledRejection' hook is set).", | ||
| 481 | 484 | &EnvironmentOptions::unhandled_rejections, | |
| 482 | 485 | kAllowedInEnvironment); | |
| 483 | 486 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments