Skip to content

[Bug]: makeRequest throws unhandled JSON.parse syntax error on non-JSON HTTP responses #13

@OwenMaine

Description

@OwenMaine

What happened?

The code fails to handle standard HTTP edge cases. If an API gateway returns an HTML error page (like a 502 Bad Gateway), the server crashes due to an unhandled exception.

Version

1.0.2 (Default)

Relevant log output

Code of Conduct

  • I agree to follow the project's Code of Conduct

Metadata

Metadata

Labels

bugSomething isn't working

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions