Skip to content

Commit 20b0a0c

Browse files
Merge pull request #1035 from Luap99/trim-aardvark-error
aardvark-dns: trim whitespaces from error text
2 parents 4c10609 + 0ab24f6 commit 20b0a0c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/dns/aardvark.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ impl Aardvark {
143143

144144
Err(std::io::Error::new(
145145
std::io::ErrorKind::Other,
146-
format!("aardvark-dns failed to start: {}", msg),
146+
format!("aardvark-dns failed to start: {}", msg.trim()),
147147
))
148148
}
149149

0 commit comments

Comments
 (0)