print and log warning if no query is specified - no exception anymore
print and log warning if no query is specified - no exception anymore

danielnaber/openthesaurus,danielnaber/openthesaurus,danielnaber/openthesaurus