Skip to content

Commit 2ce5135

Browse files
committed
Better logging for empty paths
1 parent 240e9e1 commit 2ce5135

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/server.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -418,10 +418,7 @@ impl Backend {
418418
.await;
419419
} else {
420420
self.client
421-
.log_message(
422-
MessageType::ERROR,
423-
format!("File path error: {:?}", fp.err()),
424-
)
421+
.log_message(MessageType::INFO, "No file path found. Is the file saved?")
425422
.await;
426423
}
427424
}

0 commit comments

Comments
 (0)