Skip to content

Commit 9b27e36

Browse files
j-lansonpatrickjcasey
authored andcommitted
chore: add exec.kdl file suggestion to plugin spawn failure message
Signed-off-by: jlanson <jlanson@mitre.org>
1 parent 4ed9a87 commit 9b27e36

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

hipcheck/src/plugin/manager.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,10 @@ impl PluginExecutor {
372372
});
373373
}
374374
Err(hc_error!(
375-
"Reached max spawn attempts for plugin {}",
375+
"Reached max spawn attempts for plugin {}. If you believe the plugin should have \
376+
started, consider using a custom Exec.kdl file and increasing startup parameters \
377+
such as `backoff-interval`, `max-spawn-attempts`, and `max-conn-attempts`. See \
378+
<https://hipcheck.mitre.org/docs/guide/config/exec-file/>.",
376379
plugin.name
377380
))
378381
}

0 commit comments

Comments
 (0)