mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-23 19:42:50 -06:00
PGFService.hs: fix compilation problem when C run-time support is omitted
This commit is contained in:
@@ -521,7 +521,7 @@ errorMissingId = badRequest "Missing identifier" ""
|
|||||||
|
|
||||||
notFound = throw 404 "Not found"
|
notFound = throw 404 "Not found"
|
||||||
badRequest = throw 400
|
badRequest = throw 400
|
||||||
--serverError = throw 500
|
serverError = throw 500
|
||||||
|
|
||||||
throw code msg extra =
|
throw code msg extra =
|
||||||
throwCGIError code msg [msg ++(if null extra then "" else ": "++extra)]
|
throwCGIError code msg [msg ++(if null extra then "" else ": "++extra)]
|
||||||
|
|||||||
Reference in New Issue
Block a user