Remove log4j as much as possible (#1334)

This commit is contained in:
altrisi authored and GitHub committed 2022-02-22 01:35:56 +01:00
1 parent b06d68186e
commit 1f0c609dc0
9 files changed
+26 -22

No files matched your search

+1 -1
View File
@@ -43,7 +43,7 @@ public abstract class Value implements Comparable<Value>, Cloneable
catch (CloneNotSupportedException e)
{
// should not happen
CarpetSettings.LOG.catching(e);
CarpetSettings.LOG.error("Failed to clone variable", e);
throw new InternalExpressionException("Variable of type "+getTypeString()+" is not cloneable. Tell gnembon about it, this shoudn't happen");
}
copy.boundVariable = var;