(task *model.Task, presenter string)
| 227 | } |
| 228 | |
| 229 | func (d taskPluginSubmitDiagnostics) present(task *model.Task, presenter string) { |
| 230 | if d.pluginKey == "" || task == nil { |
| 231 | return |
| 232 | } |
| 233 | logger.LogDebug( |
| 234 | d.context, |
| 235 | "task_plugin subsystem=submit event=present generation=%d plugin=%q public_task_id=%q presenter=%q durable=true", |
| 236 | d.generation, |
| 237 | d.pluginKey, |
| 238 | task.TaskID, |
| 239 | presenter, |
| 240 | ) |
| 241 | } |
| 242 | |
| 243 | func (d taskPluginSubmitDiagnostics) presentError(taskErr *dto.TaskError) { |
| 244 | if d.pluginKey == "" || taskErr == nil { |
no test coverage detected