chore: remove unnecessary parse method

This commit is contained in:
Jonathan Kelley committed 2022-12-30 01:54:12 -05:00
1 parent 531f7c6d3f
commit d160a5c8ff
2 files changed
+1 -12

No files matched your search

-10
View File
@@ -17,13 +17,3 @@ impl IpcMessage {
self.params
}
}
pub(crate) fn parse_ipc_message(payload: &str) -> Option<IpcMessage> {
match serde_json::from_str(payload) {
Ok(message) => Some(message),
Err(e) => {
log::error!("could not parse IPC message, error: {}", e);
None
}
}
}