Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error using sumo:find to retrieve an inexistent element #147

Merged

Conversation

elbrujohalcon
Copy link
Member

{nocatch,[{reason,{error,{{badmatch,'$end_of_table'},[{sumo_store_mnesia,'-find_by/6-fun-1-',4,[{file,"src/sumo_store_mnesia.erl"},{line,152}]},{mnesia_tm,apply_fun,3,[{file,"mnesia_tm.erl"},{line,833}]},{mnesia_tm,execute_transaction...

{ManyItems, _Cont} =
mnesia:select(DocName, MatchSpec, Offset + Limit, read),
lists:sublist(ManyItems, Offset + 1, Limit)
case mnesia:select(DocName, MatchSpec, Offset + Limit, read) of
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

According to Elvis:

The expression on line 152 and column 11 is nested beyond the maximum level of 3.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

According to Elvis:

The expression on line 152 and column 11 is nested beyond the maximum level of 3.

elbrujohalcon pushed a commit that referenced this pull request May 9, 2015
…_find_to_retri

Error using sumo:find to retrieve an inexistent element
@elbrujohalcon elbrujohalcon merged commit 55334a8 into master May 9, 2015
@elbrujohalcon elbrujohalcon deleted the elbrujohalcon.147.error_using_sumo_find_to_retri branch May 9, 2015 18:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants