Skip to content

Commit

Permalink
Add TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
runeksvendsen committed Nov 29, 2024
1 parent 8d07918 commit e7c4e59
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/server/Server/Pages/Search.hs
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,7 @@ page cfg (SearchEnv graph lookupVertex) srcTxt dstTxt maxCount' mNoGraph = do
]
(mono $ toHtml $ FunGraph.fgPackageName fnPkg)

-- TODO: don't throw 404; display HTML message and populate suggestions
lookupVertexM txt =
maybe
(throwError $ err404 { errBody = "Type not found: " <> TLE.encodeUtf8 (LT.fromStrict txt) })
Expand Down

0 comments on commit e7c4e59

Please sign in to comment.