add type to WrongFiletypeException
This commit is contained in:
parent
e1a40f8c59
commit
750ba4920b
3 changed files with 29 additions and 5 deletions
|
|
@ -67,7 +67,7 @@
|
|||
}
|
||||
if(is_null($answerMimetype)) {
|
||||
throw new \hhu\z\exceptions\SubmissionNotValidException(
|
||||
new \hhu\z\exceptions\WrongFiletypeException()
|
||||
new \hhu\z\exceptions\WrongFiletypeException($answer['type'])
|
||||
);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue