Skip to content
This repository was archived by the owner on Dec 10, 2022. It is now read-only.

Commit b341c0c

Browse files
committed
feat(config): change the error msg for config:log-type
1 parent 4f5ac30 commit b341c0c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/node_config.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ fn de_log_type<'de, D>(deserializer: D) -> Result<LogType, D::Error> where D: De
8989
#[cfg(unix)]
9090
"Syslog" => Ok(LogType::Syslog),
9191
"None" => Ok(LogType::None),
92-
e => Err(de::Error::custom(format!("Invalid LogType {}", e))),
92+
other => Err(de::Error::custom(format!("log-type: invalid value '{}'", other))),
9393
}
9494
}
9595

0 commit comments

Comments
 (0)