Skip to content

Commit

Permalink
mirrord-layer back
Browse files Browse the repository at this point in the history
  • Loading branch information
meowjesty committed Oct 17, 2024
1 parent 039b2f8 commit 9c814b0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions mirrord/layer/src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ mod ignore_codes {
/// These errors are converted to [`libc`] error codes, and are also used to [`set_errno`].
#[derive(Error, Debug)]
pub(crate) enum HookError {
#[error(transparent)]
#[error("mirrord-layer: `{0}`")]
ResponseError(#[from] ResponseError),

#[error("mirrord-layer: DNS does not resolve!")]
Expand Down Expand Up @@ -126,7 +126,7 @@ pub(crate) enum HookError {
/// handling [`ProxyToLayerMessage`](mirrord_intproxy_protocol::ProxyToLayerMessage).
#[derive(Error, Debug)]
pub(crate) enum LayerError {
#[error(transparent)]
#[error("mirrord-layer: `{0}`")]
ResponseError(#[from] ResponseError),

#[error("mirrord-layer: Frida failed with `{0}`!")]
Expand Down
2 changes: 1 addition & 1 deletion mirrord/protocol/src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ use std::{
use bincode::{Decode, Encode};
use hickory_resolver::error::{ResolveError, ResolveErrorKind};
use thiserror::Error;
use tracing::{warn, Level};
use tracing::warn;

use crate::{
outgoing::SocketAddress,
Expand Down

0 comments on commit 9c814b0

Please sign in to comment.