Skip to content

Commit

Permalink
make_error_response should set type to Error, not Reply
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxVerevkin committed Mar 19, 2024
1 parent a037cb3 commit 47345fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rustbus/src/message_builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ impl DynamicHeader {
error_msg: Option<String>,
) -> crate::message_builder::MarshalledMessage {
let mut err_resp = crate::message_builder::MarshalledMessage {
typ: MessageType::Reply,
typ: MessageType::Error,
dynheader: DynamicHeader {
interface: None,
member: None,
Expand Down

0 comments on commit 47345fd

Please sign in to comment.