diff --git a/src/main/scala/li/cil/oc/server/machine/Machine.scala b/src/main/scala/li/cil/oc/server/machine/Machine.scala index febf43a44..51f1bdb88 100644 --- a/src/main/scala/li/cil/oc/server/machine/Machine.scala +++ b/src/main/scala/li/cil/oc/server/machine/Machine.scala @@ -1027,7 +1027,7 @@ object Machine extends MachineAPI { architecture.getConstructor(classOf[machine.Machine]) } catch { - case t: Throwable => throw new IllegalArgumentException("Architecture does not have required constructor.") + case t: Throwable => throw new IllegalArgumentException("Architecture does not have required constructor.", t) } checked += architecture }