We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1065b31 commit e059530Copy full SHA for e059530
src/main/scala/com/codacy/plugins/api/results/Pattern.scala
@@ -85,7 +85,7 @@ object Pattern {
85
if category == Category.Security =>
86
spec
87
88
- case _ => throw new Exception("invalid sub category")
+ case _ => throw new Exception(s"Invalid subcategory: $subcategory is not subcategory of $category")
89
}
90
case None => spec
91
0 commit comments