Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: dont throw on log push failure #43

Merged
merged 12 commits into from
Dec 17, 2024
Merged

fix: dont throw on log push failure #43

merged 12 commits into from
Dec 17, 2024

Conversation

loks0n
Copy link
Contributor

@loks0n loks0n commented Dec 13, 2024

Removes throw from each adapter log push.

Instead, calls error_log if we encounter a CURL error or a status code >=400

It also return the status code, or if it doesn't have one, 500

@@ -16,5 +16,5 @@ jobs:

- name: Run CodeQL
run: |
docker run --rm -v $PWD:/app composer sh -c \
docker run --rm -v $PWD:/app composer:2.6 sh -c \
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Required to make codeql job pass, otherwise it runs in php 8.4 and fails with phpstan version

@christyjacob4 christyjacob4 merged commit c274a99 into main Dec 17, 2024
6 checks passed
@christyjacob4 christyjacob4 deleted the fix-logger branch December 17, 2024 13:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants