We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e0b8b94 commit 4db5f57Copy full SHA for 4db5f57
1 file changed
src/parser/mod.rs
@@ -1009,7 +1009,7 @@ impl<'a> Parser<'a> {
1009
FlushType::OptimizerCosts
1010
} else if self.parse_keywords(&[Keyword::RELAY, Keyword::LOGS]) {
1011
if self.parse_keywords(&[Keyword::FOR, Keyword::CHANNEL]) {
1012
- channel = Some(self.parse_object_name(false).unwrap().to_string());
+ channel = Some(self.parse_object_name(false)?.to_string());
1013
}
1014
FlushType::RelayLogs
1015
} else if self.parse_keywords(&[Keyword::SLOW, Keyword::LOGS]) {
0 commit comments