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 for #60 and #61 #62

Merged
merged 3 commits into from
Jul 29, 2024
Merged

Fix for #60 and #61 #62

merged 3 commits into from
Jul 29, 2024

Conversation

coolapso
Copy link
Contributor

Adding chmod +x to Dockerfile, to make sure the exporter binary is always executable regardless of which permissions it may have on the host system.

Not really important but added a make promu-build command to alias the promu build command just to try to keep everything inside the makefile and not have to remember the promu build exact command

Fixed missing log messages when requests are successful but return a non 200 status code and adjusted the wording around each log message to be more unique and easy to relate where the errors are actually coming from.

Later I may look at the other issues you have here and may refactor a bit around the error messages.

fix #60, ensure twitch_exporter is always executable in the docker image
add promu-build command to makefile
fix #61, log when request status code is not 200
adjust wording on logs easier understand what's causing the log message
@damoun
Copy link
Owner

damoun commented Jul 22, 2024

CI cannot build the docker image for armv7, I'm looking to reproduce it on my local machine.

@damoun
Copy link
Owner

damoun commented Jul 29, 2024

I'm gonna merge this as I'm not able to test armv7 at the moment.

@damoun damoun merged commit 96d7b3e into damoun:main Jul 29, 2024
3 of 4 checks passed
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