preaction / Log-Any

Simple, fast Perl logging API compatible with any logging system
Other
13 stars 19 forks source link

"Can't store REGEXP items" with 1.717 #102

Open dakkar opened 1 year ago

dakkar commented 1 year ago

t/proxy-with-stack-trace.t dies with Can't store REGEXP items at /home/dakkar/.cpanm/work/1692614279.19553/Log-Any-1.717/t/TestAdapters.pm line 30

Adding some debugging print/note/diag/Data::Dumper, I noticed that the last argument passed to TestAdapters::Structured:structured is a Log::Any::MessageWithStackTrace which contains a Devel::StackTrace which contains a regex in its ignore_package attribute

Old versions of Storable don't deal with regexes, so the test fails.

You could add a dependency on Storable 3.06 (the earliest version to support cloning regexes)

perlpunk commented 10 months ago

I created #105