Skip to content

Commit

Permalink
error message on not ready platforms
Browse files Browse the repository at this point in the history
  • Loading branch information
radu committed May 18, 2024
1 parent f054214 commit 907cd00
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/mount/macos.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ use crate::encryptedfs::{FsResult, PasswordProvider};
use crate::mount::MountPoint;
use async_trait::async_trait;
use std::path::PathBuf;
use tracing::warn;
use tracing::{error, warn};

pub(super) struct MacOsFuse3MountPoint {
mountpoint: PathBuf,
Expand Down Expand Up @@ -42,7 +42,7 @@ impl MacOsFuse3MountPoint {
#[async_trait]
impl MountPoint for MacOsFuse3MountPoint {
async fn mount(&mut self) -> FsResult<()> {
warn!("he he, not yet ready for this platform, but soon my friend, soon :)");
error!("he he, not yet ready for this platform, but soon my friend, soon :)");
Ok(())
}

Expand Down
4 changes: 2 additions & 2 deletions src/mount/windows.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ use crate::encryptedfs::{FsResult, PasswordProvider};
use crate::mount::MountPoint;
use async_trait::async_trait;
use std::path::PathBuf;
use tracing::warn;
use tracing::{error, warn};

pub(super) struct WindowsMountPoint {
mountpoint: PathBuf,
Expand Down Expand Up @@ -42,7 +42,7 @@ impl WindowsMountPoint {
#[async_trait]
impl MountPoint for WindowsMountPoint {
async fn mount(&mut self) -> FsResult<()> {
warn!("he he, not yet ready for this platform, but soon my friend, soon :)");
error!("he he, not yet ready for this platform, but soon my friend, soon :)");
Ok(())
}

Expand Down

0 comments on commit 907cd00

Please sign in to comment.