Pino Toscano
b3ef101a0f
daemon: fix/enhance error reporting of Augeas exceptions
...
The current code was broken, as the field 1 of the exception value is
the error code (int), not an error string, and thus it would have
crashed. This did not happen in practice, as all the usage of
ocaml-augeas were only in the inspection code with ad-hoc exception
catching blocks.
Other than fixing the aforementioned issue, enhance the error reporting
to be as close as possible to what the current AUGEAS_ERROR() macro
does: error message, error minor message (if available), error details
(if available).
2020-01-27 14:53:35 +01:00
..
2019-11-28 13:09:21 +01:00
2019-05-30 09:12:32 +02:00
2017-07-27 17:31:41 +01:00
2017-07-27 17:31:41 +01:00
2014-04-16 12:01:17 +01:00
2017-07-27 22:31:22 +01:00
2019-01-08 11:58:30 +00:00
2017-07-27 17:31:41 +01:00
2019-10-02 14:29:35 +01:00
2019-01-08 11:58:30 +00:00
2019-01-08 11:58:30 +00:00
2019-01-08 11:58:30 +00:00
2019-01-08 11:58:30 +00:00
2019-01-08 11:58:30 +00:00
2017-07-10 17:01:59 +01:00
2017-07-27 17:31:41 +01:00
2016-07-26 10:43:45 +01:00
2016-01-22 09:12:17 +00:00
2017-07-27 17:31:41 +01:00
2016-07-26 10:43:45 +01:00
2019-11-28 13:09:21 +01:00
2019-01-08 11:58:30 +00:00
2018-02-06 17:27:23 +01:00
2018-02-06 17:27:23 +01:00
2019-01-08 11:58:30 +00:00
2020-01-27 14:53:35 +01:00
2017-09-16 22:27:16 +01:00
2018-01-09 12:17:53 +00:00
2019-11-28 13:09:21 +01:00
2019-01-08 11:58:30 +00:00
2019-01-08 11:58:30 +00:00
2017-08-08 17:50:23 +01:00
2014-11-26 16:15:47 +00:00
2019-01-08 11:58:30 +00:00
2019-01-08 11:58:30 +00:00
2019-01-08 11:58:30 +00:00
2019-01-08 11:58:30 +00:00
2017-07-27 17:31:41 +01:00
2017-07-27 17:31:41 +01:00
2017-07-27 17:31:41 +01:00
2019-01-08 11:58:30 +00:00
2017-07-10 17:01:59 +01:00
2019-01-08 11:58:30 +00:00
2018-04-19 11:30:29 +02:00
2016-07-26 10:43:45 +01:00
2019-01-08 11:58:30 +00:00
2019-01-08 11:58:30 +00:00
2019-01-08 11:58:30 +00:00
2016-07-26 10:43:45 +01:00
2019-01-08 11:58:30 +00:00
2019-01-08 11:58:30 +00:00
2019-01-08 11:58:30 +00:00
2015-10-27 17:25:49 +00:00
2017-07-27 17:31:41 +01:00
2017-07-27 17:31:41 +01:00
2016-02-04 11:25:56 +01:00
2019-01-08 11:58:30 +00:00
2019-01-08 11:58:30 +00:00
2019-01-08 11:58:30 +00:00
2017-09-16 22:27:16 +01:00
2017-07-27 17:31:41 +01:00
2017-07-27 17:31:41 +01:00
2019-01-08 11:58:30 +00:00
2019-01-14 17:29:13 +01:00
2019-01-08 11:58:30 +00:00
2019-04-04 10:25:03 +02:00
2019-01-08 11:58:30 +00:00
2019-01-08 11:58:30 +00:00
2019-01-08 11:58:30 +00:00
2019-04-03 13:08:08 +01:00
2019-01-08 11:58:30 +00:00
2019-04-03 13:08:08 +01:00
2019-04-03 13:08:08 +01:00
2019-01-08 11:58:30 +00:00
2019-01-08 11:58:30 +00:00
2019-01-08 11:58:30 +00:00
2016-04-12 20:59:40 +01:00
2019-01-08 11:58:30 +00:00
2019-01-08 11:58:30 +00:00
2017-07-27 17:31:41 +01:00
2014-10-23 19:03:11 +02:00
2017-07-27 17:31:41 +01:00
2018-02-12 11:24:06 +01:00
2019-01-08 11:58:30 +00:00
2017-07-27 22:31:22 +01:00
2019-01-08 11:58:30 +00:00
2019-01-08 11:58:30 +00:00
2017-07-27 17:31:41 +01:00
2019-11-29 12:04:55 +01:00
2019-01-08 11:58:30 +00:00
2019-01-08 11:58:30 +00:00
2018-07-26 12:02:59 +01:00
2019-01-08 11:58:30 +00:00
2019-01-08 11:58:30 +00:00
2019-12-19 13:10:41 +01:00
2017-07-27 22:31:22 +01:00
2019-01-08 11:58:30 +00:00
2019-01-08 11:58:30 +00:00
2017-03-03 11:32:37 +00:00
2014-10-23 19:03:11 +02:00
2017-07-27 17:31:41 +01:00
2019-01-08 11:58:30 +00:00
2019-01-08 11:58:30 +00:00
2017-08-08 17:50:23 +01:00
2019-01-08 11:58:30 +00:00
2019-01-08 11:58:30 +00:00
2019-01-08 11:58:30 +00:00
2019-01-08 11:58:30 +00:00
2019-11-28 13:09:21 +01:00
2019-04-16 09:32:02 +01:00
2019-01-08 11:58:30 +00:00
2019-01-08 11:58:30 +00:00
2015-01-20 16:09:53 +01:00
2019-01-08 11:58:30 +00:00
2017-07-27 17:31:41 +01:00
2017-07-27 17:31:41 +01:00
2017-07-27 17:31:41 +01:00
2017-07-27 17:31:41 +01:00
2017-07-27 17:31:41 +01:00
2017-07-27 17:31:41 +01:00
2017-07-27 17:31:41 +01:00
2017-07-10 17:01:59 +01:00
2019-01-08 11:58:30 +00:00
2014-11-05 14:50:54 +00:00
2019-01-08 11:58:30 +00:00
2017-07-27 17:31:41 +01:00
2019-01-08 11:58:30 +00:00
2017-07-27 17:31:41 +01:00
2017-07-27 22:31:22 +01:00
2019-01-08 11:58:30 +00:00
2019-01-08 11:58:30 +00:00
2019-11-28 13:09:21 +01:00
2018-05-15 11:15:54 +01:00
2015-07-02 16:08:44 +01:00
2019-01-08 11:58:30 +00:00
2017-08-08 17:50:23 +01:00
2019-11-28 13:09:21 +01:00
2019-01-08 11:58:30 +00:00
2019-01-08 11:58:30 +00:00
2014-10-23 19:03:11 +02:00
2015-10-05 14:28:33 +01:00
2019-01-08 11:58:30 +00:00
2017-08-08 17:50:23 +01:00
2018-05-15 11:15:54 +01:00
2019-01-08 11:58:30 +00:00
2017-07-27 17:31:41 +01:00