Skip to content

Conversation

@clwluvw
Copy link

@clwluvw clwluvw commented Nov 8, 2025

Describe your changes

return http 404 when network is not there rather than an internal err.

Provide testing steps

Call GET /api/networks/{networkname} on a non-existent network to get a 404 rather than a 500 HTTP status code.

Checklist before requesting a review

  • My changes affect only 10 files or less.
  • I have performed a self-review of my code and tested it.
  • If it is a new feature, I have added thorough tests, my code is <= 1450 lines.
  • If it is a bugfix, my code is <= 200 lines.
  • My functions are <= 80 lines.
  • I have had my code reviewed by a peer.
  • My unit tests pass locally.
  • Netmaker is awesome.

return http 404 when network is not there rather than an internal err.

Signed-off-by: Seena Fallah <[email protected]>
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.

1 participant