heiseonline / perl-sentry-sdk

Other
8 stars 6 forks source link

"curfile" is not exported by the Mojo::File module #9

Closed eserte closed 2 years ago

eserte commented 2 years ago

t/sdk.t fails on a few of my smokers like this:

"curfile" is not exported by the Mojo::File module
Can't continue after import errors at t/sdk.t line 3.
BEGIN failed--compilation aborted at t/sdk.t line 3.
t/sdk.t ................ 
Dubious, test returned 255 (wstat 65280, 0xff00)
No subtests run 

I think this happens if Mojolicious is too old, so probably the minimum prereq version for Mojolicious should be set.

pmb0 commented 2 years ago

Thanks for reporting. Fixed in https://github.com/heiseonline/perl-sentry-sdk/commit/e25f4380b9222332bd1c1a1568d3baaaba6f2ab7