Skip to content

Commit 0e20816

Browse files
committed
Logging plugin should not call super.handleException because super.handleException is not no-op now
1 parent f7f3a9d commit 0e20816

File tree

1 file changed

+0
-2
lines changed
  • plugins-Logging/src/main/scala/com/thoughtworks/deeplearning/plugins

1 file changed

+0
-2
lines changed

plugins-Logging/src/main/scala/com/thoughtworks/deeplearning/plugins/Logging.scala

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,6 @@ trait Logging extends Layers with Weights {
6666
implicit protected def name: sourcecode.Name
6767
implicit protected def caller: Caller[_]
6868
override protected def handleException(thrown: Throwable): Unit = {
69-
super.handleException(thrown)
7069
logger.log(new ThrownInLayer(this, thrown))
7170
}
7271
}
@@ -77,7 +76,6 @@ trait Logging extends Layers with Weights {
7776
implicit protected def name: sourcecode.Name
7877
implicit protected def caller: Caller[_]
7978
override protected def handleException(thrown: Throwable): Unit = {
80-
super.handleException(thrown)
8179
logger.log(new ThrownInWeight(this, thrown))
8280
}
8381
}

0 commit comments

Comments
 (0)