Fix bug where invalid server Id leads to stack
What does this MR do and why?
Fix bug where invalid server ID in the url would lead to stack.
Screenshots or screen recordings
How to set up and validate locally
Edit url to be a server that does not exist...like on my test instance I have no server id 10 https://127.0.0.1:8443/panel/server_detail?id=10&subpage=term
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
Have you checked this doesn't interfere/conflict/duplicate someone elses work? -
Have you fully tested your changes? -
Have you resolved any lint issues? -
Have you assigned a reviewer? -
Have you applied correct labels?
Edited by Andrew