diff options
author | 2024-08-10 00:10:15 +0100 | |
---|---|---|
committer | 2024-08-10 00:10:15 +0100 | |
commit | d186099afede52316789502ee9bb8b14db5dd914 (patch) | |
tree | 937df65d06e55f8508e0ef9636964a6e0d417de0 /src/error.rs | |
parent | 4a1625a311b9b2355a82ce3a595c2c4466ed7fcf (diff) |
Some tuning, cleaned up extraneous error! macros, some INFO's downgraded to DEBUG's
Diffstat (limited to 'src/error.rs')
-rw-r--r-- | src/error.rs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/error.rs b/src/error.rs index fdec096..0888818 100644 --- a/src/error.rs +++ b/src/error.rs @@ -7,7 +7,6 @@ pub struct IllegalArgumentException(String); impl IllegalArgumentException { pub fn new(msg: &str) -> IllegalArgumentException { - error!(msg); IllegalArgumentException(msg.to_string()) } } @@ -31,7 +30,6 @@ pub struct IllegalStateException { impl IllegalStateException { pub fn new(msg: &str) -> IllegalStateException { - error!(msg); IllegalStateException { details: msg.to_string(), } |