Koha-clms/Koha/REST/Plugin
Ere Maijala d01f5f6e8f Bug 25504: Improve REST API spec loading errors
Test plan:
1. Introduce a typo in swagger.json or another spec json file.
2. Restart plack if used or try to access the REST APIs
3. Without the patch, verify that  an incomplete error message and potentially lots of stack trace are logged.
4. With the patch, verify that much more meaningful error messages are logged and stack trace is omitted.
5. Fix the problem introduced in step 1 and verify that no messages are logged, or only warning about bundle is logged with Debian Stretch.
6. Repeat with a REST API plugin.

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2020-08-31 16:10:25 +02:00
..
Exceptions.pm Bug 25493: Make ->unhandled_exception use Koha::Logger 2020-05-19 15:20:43 +01:00
Objects.pm Bug 26143: Make the API handle per_page=-1 2020-08-05 17:36:28 +02:00
Pagination.pm Bug 26143: Make the API handle per_page=-1 2020-08-05 17:36:28 +02:00
PluginRoutes.pm Bug 25504: Improve REST API spec loading errors 2020-08-31 16:10:25 +02:00
Query.pm Bug 24830: Fix parse_prefetch recursion and +count cases 2020-03-20 15:18:40 +00:00