Commit 6bce9c8d authored by Stephane Glondu's avatar Stephane Glondu
Browse files

Less unhelpful error message with malformed election.json

parent 0d5f4b7a
......@@ -203,7 +203,7 @@ module Make (C : CONFIG) : SITE = struct
| Some e -> return e
| None -> Printf.ksprintf
failwith "%s must contain a single line" f.f_election
failwith "election.json must contain a single line"
let params = Group.election_params_of_string raw_election in
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment