From 7b98d88c9e618a2b0cf2dc1d9994761368f61d88 Mon Sep 17 00:00:00 2001 From: neodarz Date: Mon, 27 Feb 2017 11:38:16 +0100 Subject: Add some info for dev --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'README.md') diff --git a/README.md b/README.md index 90f4489..73e9f12 100644 --- a/README.md +++ b/README.md @@ -40,3 +40,11 @@ To delete a file: You can also view the content of the database with this web page : [`localhost:4000/audio_file`](http://127.0.0.1:4000/audio_file) + +## Development: +If you have an error like : `[debug] ** (Ecto.NoResultsError) expected at least +one result but got none in query:` when you dev, check the doc : +`http://www.phoenixframework.org/v0.14.0/docs/custom-errors` + +tl;dr: change this `debug_errors: false` and `catch_errors: true` in +`config/dev.exs` -- cgit v1.2.1