Skip to content

Commit

Permalink
modified exception message
Browse files Browse the repository at this point in the history
  • Loading branch information
ArtsiomBruneuski authored and gelanivishal committed Oct 12, 2018
1 parent 7e38326 commit a20968d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public function validateResponseSchemaType($responseSchema, $topicName)
$this->validateType($responseSchema);
} catch (\InvalidArgumentException $e) {
throw new \LogicException(
'Response schema definition has wrong annotations',
'Response schema definition has service class with wrong annotated methods',
$e->getCode(),
$e
);
Expand All @@ -75,7 +75,7 @@ public function validateRequestSchemaType($requestSchema, $topicName)
$this->validateType($requestSchema);
} catch (\InvalidArgumentException $e) {
throw new \LogicException(
'Response schema definition has wrong annotations',
'Request schema definition has service class with wrong annotated methods',
$e->getCode(),
$e
);
Expand Down

0 comments on commit a20968d

Please sign in to comment.