Skip to content

Commit

Permalink
added possible values in serializer error
Browse files Browse the repository at this point in the history
  • Loading branch information
wolf4ood committed Sep 30, 2020
1 parent 925057b commit a84c89a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gremlin-cli/src/actions/connect.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ impl FromStr for Serializer {
"graphson_v1" => Ok(Serializer::GraphSONV1),
"graphson_v2" => Ok(Serializer::GraphSONV2),
"graphson_v3" => Ok(Serializer::GraphSONV3),
_ => Err(anyhow!("Serializer {} not valid", s)),
_ => Err(anyhow!("Serializer {} not valid, possible values [graphson_v1, graphson_v2, graphson_v3]", s)),
}
}
}
Expand Down

0 comments on commit a84c89a

Please sign in to comment.