Skip to content

Commit

Permalink
Fixes php warning on file upload error.
Browse files Browse the repository at this point in the history
  • Loading branch information
stooit committed Oct 13, 2020
1 parent 4ece009 commit 3e4450b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions modules/quant_api/src/EventSubscriber/QuantApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -240,9 +240,11 @@ public function onMedia(QuantFileEvent $event) {
}
catch (InvalidPayload $error) {
$this->logger->error($error->getMessage());
return;
}
catch (Exception $error) {
$this->logger->error($error->getMessage());
return;
}

return $res;
Expand Down

0 comments on commit 3e4450b

Please sign in to comment.