Commit 3ffbae0
committed
FDS Output: allow more descriptive error messages when std::exception is thrown
Previously, we would only print exception description if the exception
was of type FDS_exception, otherwise we would fail with "Unknown error",
which does not help with figuring out what the problem was at all.
We ourselves throw descriptive exceptions of type std::runtime_error for
example in case of Config parsing errors, that would never get printed
in the original state, and instead we'd still fail with "Unknown error".1 parent d16794f commit 3ffbae0
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
85 | | - | |
| 85 | + | |
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
| |||
0 commit comments