Skip to content

Commit 3c0e2a0

Browse files
committed
parser: fix unreachable code
Signed-off-by: Shizuo Fujita <fujita@clear-code.com>
1 parent 4542929 commit 3c0e2a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/fluent/plugin/parser.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ def start
4646
@map.keys.each { |th|
4747
time = @map[th]
4848
if now - time > @timeout
49-
th.raise UncatchableError, "parsing timed out"
5049
@map.delete(th)
50+
th.raise UncatchableError, "parsing timed out"
5151
end
5252
}
5353
}

0 commit comments

Comments
 (0)