changeset 549:c69b4833a3a3

minor
author Franklin Schmidt <fschmidt@gmail.com>
date Mon, 15 Jun 2015 18:33:48 -0600
parents f4dfe9c64c25
children b2139b21b49c
files lucene/src/luan/modules/lucene/Web_search.luan
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lucene/src/luan/modules/lucene/Web_search.luan	Mon Jun 15 17:30:28 2015 -0600
+++ b/lucene/src/luan/modules/lucene/Web_search.luan	Mon Jun 15 18:33:48 2015 -0600
@@ -123,6 +123,7 @@
 
 
 function M.of(index)
+	index or error "index is nil"
 
 	return function()
 		Io.stdout = Http.response.text_writer()