Skip to content

Commit e8b61d7

Browse files
authored
Merge pull request #48 from pplotka/proper-notify-response-code
Set error http response code when occurs error in notify action.
2 parents 3a34086 + 2ecd2d3 commit e8b61d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Action/NotifyAction.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ public function execute($request): void
9393
}
9494
}
9595
} catch (OpenPayU_Exception $e) {
96-
throw new HttpResponse($e->getMessage());
96+
throw new HttpResponse($e->getMessage(), 500);
9797
}
9898
}
9999
}

0 commit comments

Comments
 (0)