-
-
26 Oct 2015 21:06:26 UTC
- Browse (raw)
- Changes
- Homepage
- How to Contribute
- Clone hg repository
- Issues (0)
- Testers
- Kwalitee
Bus factor: 0- 97.76% Coverage
- License: gpl_3
- Perl: v5.6.0
- Activity
24 month- Tools
- Download (29.66KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
and 1 contributors-
Van de Bugger
Changes for version v0.9.0 - 2015-10-26
- `abort` method now throws an exception of class `Dist::Zilla::Role::ErrorLogger::Exception::Abort`, not just string. Being stringified, an exception object returns "Aborting...\n", so visually result would be the same. However, tests checking the exception should be updated.
- `abort_if_error` renamed to `abort_if_errors`. Original method name is kept as an alias.
- Test code simplified a bit: `run_me` used instead of more generic `run_tests`, `ErrorLoggerTester` role inlined into the test. Helper plugin moved to `t/lib/` directory to separate tests from supporting modules.
Modules
Have error logging capabilities in your Dist::Zilla pluginProvides
in lib/Dist/Zilla/Role/ErrorLogger.pmModule Install Instructions
To install Dist::Zilla::Role::ErrorLogger, copy and paste the appropriate command in to your terminal.
cpanm Dist::Zilla::Role::ErrorLogger
perl -MCPAN -e shell install Dist::Zilla::Role::ErrorLogger
For more information on module installation, please visit the detailed CPAN module installation guide.