writeWorkspaceNotFound writes the workspace-resolution 404 (BUG-3069). The message is passed through because two doors have long said "Workspace not found." with a period, and the text is not changing.
(w http.ResponseWriter, message string)
| 3040 | // The message is passed through because two doors have long said |
| 3041 | // "Workspace not found." with a period, and the text is not changing. |
| 3042 | func writeWorkspaceNotFound(w http.ResponseWriter, message string) { |
| 3043 | writeError2(w, http.StatusNotFound, "not_found", message, workspaceNotFoundDetails()) |
| 3044 | } |
| 3045 | |
| 3046 | // writeInternalError logs the real error server-side and sends a generic |
| 3047 | // message to the client. This prevents leaking SQL errors, file paths, |
no test coverage detected