{"id":18847897,"url":"https://github.com/marcusramberg/mojolicious-plugin-textexceptions","last_synced_at":"2026-02-01T23:30:17.300Z","repository":{"id":53137271,"uuid":"174106373","full_name":"marcusramberg/mojolicious-plugin-textexceptions","owner":"marcusramberg","description":null,"archived":false,"fork":false,"pushed_at":"2021-04-13T05:49:19.000Z","size":12,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-02-12T05:51:31.610Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Perl","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/marcusramberg.png","metadata":{"files":{"readme":"README.md","changelog":"Changes","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-03-06T08:44:45.000Z","updated_at":"2021-04-13T05:49:21.000Z","dependencies_parsed_at":"2022-09-09T19:34:27.739Z","dependency_job_id":null,"html_url":"https://github.com/marcusramberg/mojolicious-plugin-textexceptions","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcusramberg%2Fmojolicious-plugin-textexceptions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcusramberg%2Fmojolicious-plugin-textexceptions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcusramberg%2Fmojolicious-plugin-textexceptions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcusramberg%2Fmojolicious-plugin-textexceptions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/marcusramberg","download_url":"https://codeload.github.com/marcusramberg/mojolicious-plugin-textexceptions/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239786209,"owners_count":19696770,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-08T03:10:07.345Z","updated_at":"2026-02-01T23:30:17.234Z","avatar_url":"https://github.com/marcusramberg.png","language":"Perl","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NAME\n\nMojolicious::Plugin::TextExceptions - Render exceptions as text in command line user agents\n\n# SYNOPSIS\n\n    use Mojolicious::Lite;\n\n    # Only enable this plugin when running tests\n    plugin 'TextExceptions' if $ENV{HARNESS_ACTIVE};\n\n    # Only enable this plugin when developing\n    plugin 'TextExceptions' if app-\u003emode eq 'development';\n\n    # Always enabling the plugin can leak sensitive information\n    # to the end user\n    plugin 'TextExceptions';\n\n    plugin 'TextExceptions', ua_re =\u003e qr{^LWP}; # Override the default regex for user agent\n\n# DESCRIPTION\n\nThis plugin looks for curl/wget/mojo user agent and renders exceptions as text instead of html.\n\n# METHODS\n\n## register\n\nSets up a before\\_render hook to look for text based user agents and render exceptions as text.\n\nCurrently supports Mojo::UserAgent, curl and wget\n\n# SEE ALSO\n\n[Mojolicious](https://metacpan.org/pod/Mojolicious)\n\n# COPYRIGHT AND LICENSE\n\nCopyright (C) 2019, Marcus Ramberg\n\nThis program is free software, you can redistribute it and/or modify it under\nthe terms of the Artistic License version 2.0.\n\n# AUTHOR\n\nMarcus Ramberg \u003cmramberg@cpan.org\u003e\n\n# CONTRIBUTORS\n\nJan Henning Thorsen \u003cjhthorsen@cpan.org\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarcusramberg%2Fmojolicious-plugin-textexceptions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarcusramberg%2Fmojolicious-plugin-textexceptions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarcusramberg%2Fmojolicious-plugin-textexceptions/lists"}