Skip to content

Unconditional recursive call  #1542

@chavacava

Description

@chavacava

revel/logger/handlers.go

Lines 52 to 54 in ee237a4

func CallerFuncHandler(h LogHandler) LogHandler {
return CallerFuncHandler(h)
}

The function CallerFuncHandler calls itself unconditionally (i.e. infinite loop)

(Found by revive's rule unconditional-recursion)

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions