aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorneodarz <neodarz@neodarz.net>2017-02-27 11:38:16 +0100
committerneodarz <neodarz@neodarz.net>2017-02-27 11:38:16 +0100
commit7b98d88c9e618a2b0cf2dc1d9994761368f61d88 (patch)
tree20d8db9f28d74eb03a856b80b9da90ba139e4cdf
parent6008015c8d66ae78a32898adbecbb533c7f3db40 (diff)
downloadthe_transcriber_backend-7b98d88c9e618a2b0cf2dc1d9994761368f61d88.tar.xz
the_transcriber_backend-7b98d88c9e618a2b0cf2dc1d9994761368f61d88.zip
Add some info for dev
Diffstat (limited to '')
-rw-r--r--README.md8
1 files changed, 8 insertions, 0 deletions
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`