Skip to content

Commit a24a608

Browse files
committed
Fix warnings in Scala 2.10.1.
1 parent fa9195b commit a24a608

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

orp-plugin/src/main/scala/orp/plugin/components/OrpComponent.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,8 @@ private[components] trait OrpComponent extends PluginComponent with Transform wi
6868
try {
6969
transformTree(tree)
7070
} catch {
71-
case x =>
72-
logThrowable(x)
71+
case x: Throwable =>
72+
reportThrowable(x)
7373
throw x
7474
}
7575
}

0 commit comments

Comments
 (0)