Skip to content

Commit

Permalink
Merge pull request #48 from pplotka/proper-notify-response-code
Browse files Browse the repository at this point in the history
Set error http response code when occurs error in notify action.
  • Loading branch information
rafalmal authored May 22, 2023
2 parents 3a34086 + 2ecd2d3 commit e8b61d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Action/NotifyAction.php
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ public function execute($request): void
}
}
} catch (OpenPayU_Exception $e) {
throw new HttpResponse($e->getMessage());
throw new HttpResponse($e->getMessage(), 500);
}
}
}
Expand Down

0 comments on commit e8b61d7

Please sign in to comment.