Skip to content

Commit

Permalink
Logs
Browse files Browse the repository at this point in the history
  • Loading branch information
BHYCHIK committed Jan 29, 2016
1 parent d9341ab commit 27fd4e5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions selist.lua
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ function _selist2_search_by_domain(domain, limited)
if limited then
ret = {box.select_limit(0, 2, 0, ENTRIES_PER_DOMAIN, domain_to_find)}
if #ret == ENTRIES_PER_DOMAIN then
error('Limit reached by domain: ' .. domain_to_find)
error('Limit (' .. ENTRIES_PER_DOMAIN .. ') reached by domain: ' .. domain_to_find)
end
else
ret = {box.select(0, 2, domain_to_find)}
Expand All @@ -158,7 +158,7 @@ function _selist2_search_by_domain(domain, limited)
if limited then
ret = {box.select_limit(0, 2, 0, ENTRIES_PER_DOMAIN, domain_to_find)}
if #ret == ENTRIES_PER_DOMAIN then
error('Limit reached by domain: ' .. domain_to_find)
error('Limit (' .. ENTRIES_PER_DOMAIN .. ') reached by domain: ' .. domain_to_find)
end
else
ret = {box.select(0, 2, domain_to_find)}
Expand Down

0 comments on commit 27fd4e5

Please sign in to comment.