()
| 215 | } |
| 216 | |
| 217 | func (m *Metadata) cmdContext() map[string]any { |
| 218 | sentryCtx := map[string]any{} |
| 219 | if m.Command != "" { |
| 220 | sentryCtx["Name"] = m.Command |
| 221 | } |
| 222 | if len(m.CommandFlags) > 0 { |
| 223 | sentryCtx["Flags"] = m.CommandFlags |
| 224 | } |
| 225 | return sentryCtx |
| 226 | } |
| 227 | |
| 228 | func (m *Metadata) envContext() map[string]any { |
| 229 | sentryCtx := map[string]any{ |