debug: exploratory logging for frontpage
This commit is contained in:
parent
38d666fec0
commit
66938bcaf4
|
@ -7,7 +7,12 @@ builder.queryField("frontpage", (t) =>
|
|||
type: [QuestionObj],
|
||||
description: "Get a list of questions that are currently on the frontpage",
|
||||
resolve: async () => {
|
||||
try {
|
||||
return await getFrontpage();
|
||||
} catch (e) {
|
||||
console.error(e);
|
||||
throw e;
|
||||
}
|
||||
},
|
||||
})
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue
Block a user