Skip to content

Commit 868004d

Browse files
kanseiishikawaflori
authored andcommitted
fix: don't skip over lines during file rotation
1 parent ac1d8a8 commit 868004d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/file/tail.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ def restat
250250
end
251251
@stat = stat
252252
rescue Errno::ENOENT, Errno::ESTALE
253-
raise ReopenException
253+
raise ReopenException.new(:top)
254254
end
255255

256256
def sleep_interval

0 commit comments

Comments
 (0)