Skip to content

Commit

Permalink
fix(judge): catch all runtime exceptions with a message (#334)
Browse files Browse the repository at this point in the history
  • Loading branch information
skandragon authored Jun 26, 2018
1 parent 30142ae commit 1813835
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ class NetflixACAJudge extends CanaryJudge with StrictLogging {
.build()

} catch {
case e: MannWhitneyException =>
case e: RuntimeException =>
logger.error("Metric Classification Failed", e)
resultBuilder
.classification(Error.toString)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@

package com.netflix.kayenta.mannwhitney

class MannWhitneyException(message: String) extends Exception;
class MannWhitneyException(message: String) extends RuntimeException;

0 comments on commit 1813835

Please sign in to comment.