Skip to content

Random case clause error #204

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

Closed
ConnorRigby opened this issue Dec 7, 2017 · 1 comment · Fixed by #212
Closed

Random case clause error #204

ConnorRigby opened this issue Dec 7, 2017 · 1 comment · Fixed by #212

Comments

@ConnorRigby
Copy link
Member

I'm getting this error seemingly randomly, but pretty frequently:

** (CaseClauseError) no case clause matching: {:raise, 
%Sqlite.DbConnection.Error{connection_id: nil, message: "Disconnected", sqlite: nil}}

I've noticed this is happening in travis too

ConnorRigby pushed a commit to FarmBot/farmbot_os that referenced this issue Jan 26, 2018
@michaelkschmidt
Copy link
Contributor

We fight this a lot too. I believe it is caused by a GenServer timeout anytime SQLite takes longer than 5s to complete an operation

ConnorRigby added a commit that referenced this issue Aug 5, 2018
## Additions
* Add CircleCI
* Add/Enforce Credo

## Updates
* Updated dependencies
* Updated README.md

## Bug fixes
* Fix #204 by fixing the case clause
* Add default timeouts of 5000ms to queries.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants