try to throw specific error for bad MediaWiki query

This commit is contained in:
2021-09-18 14:31:00 -06:00
parent cd65313937
commit fe87c86cfe
2 changed files with 30 additions and 28 deletions

View File

@@ -33,7 +33,6 @@
(let [wikipedia (new MediaWikiSystem "https://en.wikipedia.org/w/api.php" null null 1)]
~(wikipedia.queryImageUrls (wikipedia.queryImageTitles ["Phoenix Wright"])))
// TODO make a dummy UI for this, instead of passing null
(let [controller (new ArchiveController archive (new DummyUI))]
// TODO test controller
0))