Skip to content

Commit f145069

Browse files
committed
add request id to fronts controller log
1 parent 83c903e commit f145069

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

admin/app/football/controllers/FrontsController.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ class FrontsController(
280280
val embedContent = (previewResponse.json \ "html").as[String]
281281
Cached(60)(RevalidatableResult.Ok(views.html.football.fronts.viewEmbed(Html(embedContent), snapFields)))
282282
}).recover { case e =>
283-
log.error(s"Failed to preview snap content from ${snapFields.uri}", e)
283+
logErrorWithRequestId(s"Failed to preview snap content from ${snapFields.uri}", e)
284284
NoCache(Ok(views.html.football.fronts.failedEmbed(Html(e.getMessage), snapFields)))
285285
}
286286
result

0 commit comments

Comments
 (0)