mirror of
https://github.com/Crocmagnon/fatcontext.git
synced 2024-11-22 07:58:05 +01:00
refactor: Update getReportMessage function to handle unsupported nested context types
This commit is contained in:
parent
99d25865c2
commit
e482fa4d35
1 changed files with 1 additions and 1 deletions
|
@ -85,7 +85,7 @@ func getReportMessage(node ast.Node) string {
|
|||
case *ast.FuncLit:
|
||||
return "nested context in function literal"
|
||||
default:
|
||||
return "nested context"
|
||||
return "unsupported nested context type"
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue