Commit 5ed98ee
committed
Catch FileNotFoundError in ConfigManagerActor _read_config method
Becasuse:
* not all files in self._config_paths might exists
* catching the watchfiles signal and file reading happen
in separate async thread and the file could be removed
between signal detection and file reading.
This prevents unexpected actor crash.
Signed-off-by: Elzbieta Kotulska <[email protected]>1 parent dd7c65f commit 5ed98ee
1 file changed
+6
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
130 | 130 | | |
131 | 131 | | |
132 | 132 | | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
133 | 139 | | |
134 | 140 | | |
135 | 141 | | |
| |||
0 commit comments