mirror of
https://github.com/epi052/feroxbuster.git
synced 2026-06-05 00:01:12 -03:00
added a little more context to connection errors
This commit is contained in:
@@ -120,12 +120,15 @@ impl HeuristicTests {
|
||||
) {
|
||||
if e.to_string().contains(":SSL") {
|
||||
ferox_print(
|
||||
&format!("Could not connect to {target_url} due to SSL errors (run with -k to ignore), skipping..."),
|
||||
&format!("Could not connect to {target_url} due to SSL errors (run with -k to ignore), skipping...\n => {}", e.root_cause()),
|
||||
&PROGRESS_PRINTER,
|
||||
);
|
||||
} else {
|
||||
ferox_print(
|
||||
&format!("Could not connect to {target_url}, skipping..."),
|
||||
&format!(
|
||||
"Could not connect to {target_url}, skipping...\n => {}",
|
||||
e.root_cause()
|
||||
),
|
||||
&PROGRESS_PRINTER,
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user