Skip to content
This repository has been archived by the owner on Nov 14, 2021. It is now read-only.

Fix python exception when calling exporter without target-param #18

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

iceman91176
Copy link

Just checks if target-param is present - if not sends back a 500 status-code, instead of throwing an exception
Fixes #13

slrtbtfs and others added 5 commits December 20, 2019 19:17
Since python2 is going to be end of life soon, it might make sense to switch this exporter to python3.

This PR makes the necessary changes to run the exporter with python3.

Signed-off-by: Tobias Guggenmos <tguggenm@redhat.com>
Fixes frankiexyz#12

Signed-off-by: Tobias Guggenmos <tguggenm@redhat.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Python exception error
2 participants