Skip to content

Commit 2d45e58

Browse files
committed
More errors into nicer_configuration_error
1 parent 3f40f5d commit 2d45e58

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/configure.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -635,6 +635,9 @@ async fn nicer_configuration_error(context: &Context, errors: Vec<ConfigurationE
635635

636636
if errors.iter().all(|e| {
637637
e.msg.to_lowercase().contains("could not resolve")
638+
|| e.msg
639+
.to_lowercase()
640+
.contains("temporary failure in name resolution")
638641
|| e.msg.to_lowercase().contains("name or service not known")
639642
}) {
640643
return stock_str::error_no_network(context).await;

0 commit comments

Comments
 (0)