This patch tweaks the `Koha::Exceptions::Plugin` class by adding an extra parameter to the plugin install and upgrade related exceptions so they carry the actuall error (if any). * Koha::Exceptions::Plugin::InstallDied: install_error * Koha::Exceptions::Plugin::UpgradeDied: upgrade_error I didn't pick plain 'error' because it is a reserved word for `Exception::Class` which makes it stringify using its value only. To test: 1. Apply this patch 2. Run: $ ktd --shell k$ prove t/Koha/Exceptions.t => SUCCESS: Tests pass! 3. Sign off :-D Signed-off-by: Brendan Gallagher <brendan@bywatersolutions.com> Signed-off-by: Laura_Escamilla <laura.escamilla@bywatersolutions.com> Signed-off-by: Lucas Gass <lucas@bywatersolutions.com> |
||
|---|---|---|
| .. | ||
| Acquisition | ||
| Checkouts | ||
| ERM/EUsage | ||
| Item | ||
| Patron | ||
| Account.pm | ||
| ArticleRequest.pm | ||
| Auth.pm | ||
| Authentication.pm | ||
| Authorization.pm | ||
| BackgroundJob.pm | ||
| Booking.pm | ||
| Calendar.pm | ||
| Checkin.pm | ||
| Checkout.pm | ||
| CirculationRule.pm | ||
| ClubHold.pm | ||
| Config.pm | ||
| CurbsidePickup.pm | ||
| Elasticsearch.pm | ||
| Hold.pm | ||
| Ill.pm | ||
| Library.pm | ||
| MarcOverlayRule.pm | ||
| Metadata.pm | ||
| Object.pm | ||
| Password.pm | ||
| Patron.pm | ||
| Plugin.pm | ||
| Preservation.pm | ||
| REST.pm | ||
| Suggestion.pm | ||
| SysPref.pm | ||
| Token.pm | ||
| TransferLimit.pm | ||
| Virtualshelf.pm | ||
| XSLT.pm | ||