From d186099afede52316789502ee9bb8b14db5dd914 Mon Sep 17 00:00:00 2001 From: Alina Hagan Date: Sat, 10 Aug 2024 00:10:15 +0100 Subject: Some tuning, cleaned up extraneous error! macros, some INFO's downgraded to DEBUG's --- src/error.rs | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/error.rs') 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(), } -- cgit v1.2.3