about summary refs log tree commit homepage
path: root/lib/PublicInbox/DSdeflate.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/PublicInbox/DSdeflate.pm')
-rw-r--r--lib/PublicInbox/DSdeflate.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/DSdeflate.pm b/lib/PublicInbox/DSdeflate.pm
index 639690e2..539adf0f 100644
--- a/lib/PublicInbox/DSdeflate.pm
+++ b/lib/PublicInbox/DSdeflate.pm
@@ -46,7 +46,7 @@ sub enable {
         my ($class, $self) = @_;
         my ($in, $err) = Compress::Raw::Zlib::Inflate->new(%IN_OPT);
         if ($err != Z_OK) {
-                $self->err("Inflate->new failed: $err");
+                warn("Inflate->new failed: $err\n");
                 return;
         }
         bless $self, $class;