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

HTTP error 500 when querying /system/get-debug-logs-raw #160

Closed
fusion44 opened this issue Oct 22, 2022 · 1 comment
Closed

HTTP error 500 when querying /system/get-debug-logs-raw #160

fusion44 opened this issue Oct 22, 2022 · 1 comment
Assignees
Labels
bug Something isn't working platform:native All issues only affecting the python native platform platform:raspiblitz All issues only affecting RaspiBlitz platform v0.5.1-beta
Milestone

Comments

@fusion44
Copy link
Owner

Describe the bug
Error when querying raw debug log endpoint

Error message from RaspiBlitz:

{
  "detail": "\n    f\"['bash /home/admin/config.scripts/blitz.debug.sh' exited with 0]\"\n\n    [stderr]\nTERM environment variable not set.\n\n            "
}

native_python:

    except NotImplementedError as r:
        raise HTTPException(status.HTTP_501_NOT_IMPLEMENTED, detail=r.args[0])

NotImplementedError doesn't have an args array

Expected behavior
No error message

Desktop (please complete the following information):

  • LN implementation: -
  • Platform: all but for different reasons
@fusion44 fusion44 added bug Something isn't working platform:raspiblitz All issues only affecting RaspiBlitz platform platform:native All issues only affecting the python native platform v0.5.1-beta labels Oct 22, 2022
@fusion44 fusion44 added this to the v0.5.1-beta milestone Oct 22, 2022
@rootzoll rootzoll self-assigned this Dec 16, 2022
rootzoll added a commit that referenced this issue Dec 16, 2022
cstenglein pushed a commit that referenced this issue Dec 18, 2022
* #160 fix 500 TERM error

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
@cstenglein
Copy link
Collaborator

Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working platform:native All issues only affecting the python native platform platform:raspiblitz All issues only affecting RaspiBlitz platform v0.5.1-beta
Projects
None yet
Development

No branches or pull requests

3 participants