From dedac294aba365a58023effab8dbedaf71c11945 Mon Sep 17 00:00:00 2001 From: Alexandra Tran Date: Mon, 9 Dec 2024 12:39:10 -0800 Subject: [PATCH 1/5] Document `--plugin-continue-on-error` Signed-off-by: Alexandra Tran --- docs/public-networks/reference/cli/options.md | 39 +++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/docs/public-networks/reference/cli/options.md b/docs/public-networks/reference/cli/options.md index 2c5c3373b6..c39d67b29b 100644 --- a/docs/public-networks/reference/cli/options.md +++ b/docs/public-networks/reference/cli/options.md @@ -2965,6 +2965,45 @@ p2p-port="1789" The P2P listening ports (UDP and TCP). The default is `30303`. You must [expose ports appropriately](../../how-to/connect/configure-ports.md). +### `plugin-continue-on-error` + + + + +```bash +--plugin-continue-on-error[=] +``` + + + + +```bash +--plugin-continue-on-error=true +``` + + + + +```bash +BESU_PLUGIN_CONTINUE_ON_ERROR=true +``` + + + + +```bash +plugin-continue-on-error=true +``` + + + + +Enables or disables continuing to run Besu if a plugin fails during registration or other startup lifecycle stages. +If set to `true` and any plugin fails, Besu logs the error and continues running. +If set to `false`and any plugin fails, Besu throws a `RuntimeException` and stops running. + +The default is `false`. + ### `print-paths-and-exit` From f50da1a63c3ff66604fe95bf230bdc98e49efcad Mon Sep 17 00:00:00 2001 From: Alexandra Carrillo <12214231+alexandratran@users.noreply.github.com> Date: Mon, 9 Dec 2024 14:15:33 -0800 Subject: [PATCH 2/5] Update docs/public-networks/reference/cli/options.md Co-authored-by: Gabriel-Trintinalia Signed-off-by: Alexandra Carrillo <12214231+alexandratran@users.noreply.github.com> --- docs/public-networks/reference/cli/options.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/public-networks/reference/cli/options.md b/docs/public-networks/reference/cli/options.md index c39d67b29b..9734f24783 100644 --- a/docs/public-networks/reference/cli/options.md +++ b/docs/public-networks/reference/cli/options.md @@ -3000,7 +3000,7 @@ plugin-continue-on-error=true Enables or disables continuing to run Besu if a plugin fails during registration or other startup lifecycle stages. If set to `true` and any plugin fails, Besu logs the error and continues running. -If set to `false`and any plugin fails, Besu throws a `RuntimeException` and stops running. +If set to `false` and any plugin fails, Besu throws a `RuntimeException` and stops running. The default is `false`. From 2d97a1c6902b75b3ebf0f51bff373bde59f604de Mon Sep 17 00:00:00 2001 From: Alexandra Carrillo <12214231+alexandratran@users.noreply.github.com> Date: Mon, 9 Dec 2024 14:15:52 -0800 Subject: [PATCH 3/5] Update docs/public-networks/reference/cli/options.md Signed-off-by: Alexandra Carrillo <12214231+alexandratran@users.noreply.github.com> --- docs/public-networks/reference/cli/options.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/public-networks/reference/cli/options.md b/docs/public-networks/reference/cli/options.md index 9734f24783..96d5beda03 100644 --- a/docs/public-networks/reference/cli/options.md +++ b/docs/public-networks/reference/cli/options.md @@ -2999,7 +2999,7 @@ plugin-continue-on-error=true Enables or disables continuing to run Besu if a plugin fails during registration or other startup lifecycle stages. -If set to `true` and any plugin fails, Besu logs the error and continues running. +If set to `true` and any plugin fails, Besu logs an error and continues running. If set to `false` and any plugin fails, Besu throws a `RuntimeException` and stops running. The default is `false`. From 47a4bde0c978bb2c5f8aeb89bec7dcc2751065cf Mon Sep 17 00:00:00 2001 From: Alexandra Carrillo <12214231+alexandratran@users.noreply.github.com> Date: Mon, 9 Dec 2024 14:22:26 -0800 Subject: [PATCH 4/5] Update options.md Signed-off-by: Alexandra Tran --- docs/public-networks/reference/cli/options.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/public-networks/reference/cli/options.md b/docs/public-networks/reference/cli/options.md index 96d5beda03..751369e6e8 100644 --- a/docs/public-networks/reference/cli/options.md +++ b/docs/public-networks/reference/cli/options.md @@ -3000,7 +3000,7 @@ plugin-continue-on-error=true Enables or disables continuing to run Besu if a plugin fails during registration or other startup lifecycle stages. If set to `true` and any plugin fails, Besu logs an error and continues running. -If set to `false` and any plugin fails, Besu throws a `RuntimeException` and stops running. +If set to `false` and any plugin fails, Besu logs an error and stops running. The default is `false`. From 6ef24cc112f26c82e1e99cefc5042e9ca659dfbe Mon Sep 17 00:00:00 2001 From: Alexandra Tran Date: Mon, 9 Dec 2024 17:45:08 -0800 Subject: [PATCH 5/5] link to plugin docs Signed-off-by: Alexandra Tran --- docs/public-networks/reference/cli/options.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/public-networks/reference/cli/options.md b/docs/public-networks/reference/cli/options.md index 751369e6e8..0a5f4e5186 100644 --- a/docs/public-networks/reference/cli/options.md +++ b/docs/public-networks/reference/cli/options.md @@ -2998,7 +2998,8 @@ plugin-continue-on-error=true -Enables or disables continuing to run Besu if a plugin fails during registration or other startup lifecycle stages. +Enables or disables continuing to run Besu if a [plugin](../../../private-networks/concepts/plugins.md) +fails during registration or other startup lifecycle stages. If set to `true` and any plugin fails, Besu logs an error and continues running. If set to `false` and any plugin fails, Besu logs an error and stops running.