Commit 740c825
Improve configuration error messages (#27)
* Get Github config with Application.fetch_env!
Gives a bit more of a useful error message if the user has messed
up and not added that config correctly, as opposed to "no function
clause matching in Keyword.merge/2".
* Checking configuration for required keys
Checks for the presence of client_id and client_secret. This may be a
step to far.
* Code style change1 parent 41b2483 commit 740c825
1 file changed
+16
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
32 | 37 | | |
33 | 38 | | |
34 | 39 | | |
| |||
73 | 78 | | |
74 | 79 | | |
75 | 80 | | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
76 | 91 | | |
0 commit comments