Skip to content

Commit 64c5541

Browse files
tooryxcopybara-github
authored andcommitted
Rephrase confusing error message.
PiperOrigin-RevId: 725538760 Change-Id: I0030466a3e4b4169624b79630bc5a8662dc39e63
1 parent d3bfa79 commit 64c5541

File tree

1 file changed

+1
-1
lines changed
  • templated/templateddetector/src/main/java/com/google/tsunami/plugins/detectors/templateddetector/actions

1 file changed

+1
-1
lines changed

templated/templateddetector/src/main/java/com/google/tsunami/plugins/detectors/templateddetector/actions/HttpActionRunner.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ private boolean checkExpectation(
121121
default:
122122
throw new IllegalArgumentException(
123123
String.format(
124-
"Invalid expectation type: %s (did you specify from_body or from_header?)",
124+
"Invalid expectation type: %s (did you specify body or header for your expectation?)",
125125
expectation.getExpectationCase()));
126126
}
127127
}

0 commit comments

Comments
 (0)