Browse Source

Include missing error text in some errors

Joshua Kifer 3 năm trước cách đây
mục cha
commit
49a451c707
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      src/error.rs

+ 2 - 2
src/error.rs

@@ -23,10 +23,10 @@ pub enum Error {
     #[error("Failed to write error")]
     FailedToWrite,
 
-    #[error("Building project failed")]
+    #[error("Build Failed: {0}")]
     BuildFailed(String),
 
-    #[error("Failed to write error")]
+    #[error("Cargo Error: {0}")]
     CargoError(String),
 
     #[error("{0}")]