Skip to content

feat(content): Add error handling + logging to content route #35

feat(content): Add error handling + logging to content route

feat(content): Add error handling + logging to content route #35

Triggered via pull request August 28, 2024 10:26
Status Success
Total duration 2m 5s
Artifacts 1

code-pr-check.yml

on: pull_request
Build and run unit tests
1m 54s
Build and run unit tests
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
Build and run unit tests
The "--output" option isn't supported when building a solution. Specifying a solution-level output path results in all projects copying outputs to the same directory, which can lead to inconsistent builds.
Build and run unit tests: src/Dfe.ContentSupport.Web/Models/Heading.cs#L8
'Heading.Title' hides inherited member 'ContentBase.Title'. Use the new keyword if hiding was intended.
Build and run unit tests: src/Dfe.ContentSupport.Web/Models/Heading.cs#L9
'Heading.Subtitle' hides inherited member 'ContentBase.Subtitle'. Use the new keyword if hiding was intended.
Build and run unit tests: src/Dfe.ContentSupport.Web/Models/Mapped/Custom/CustomAccordion.cs#L17
'CustomAccordion.Title' hides inherited member 'CsContentItem.Title'. Use the new keyword if hiding was intended.
Build and run unit tests: src/Dfe.ContentSupport.Web/Models/Mapped/Custom/CustomAttachment.cs#L16
'CustomAttachment.Title' hides inherited member 'CsContentItem.Title'. Use the new keyword if hiding was intended.
Build and run unit tests: src/Dfe.ContentSupport.Web/Models/Mapped/Custom/CustomCard.cs#L18
'CustomCard.Title' hides inherited member 'CsContentItem.Title'. Use the new keyword if hiding was intended.
Build and run unit tests: src/Dfe.ContentSupport.Web/Models/Mapped/Standard/EmbeddedAsset.cs#L17
'EmbeddedAsset.Title' hides inherited member 'CsContentItem.Title'. Use the new keyword if hiding was intended.
Build and run unit tests: src/Dfe.ContentSupport.Web/Models/Target.cs#L9
'Target.Fields' hides inherited member 'Entry<ContentBase>.Fields'. Use the new keyword if hiding was intended.
Build and run unit tests: src/Dfe.ContentSupport.Web/Models/Target.cs#L10
'Target.Title' hides inherited member 'ContentBase.Title'. Use the new keyword if hiding was intended.
Build and run unit tests: src/Dfe.ContentSupport.Web/Controllers/ContentController.cs#L37
Define a constant instead of using this literal 'error' 4 times. (https://rules.sonarsource.com/csharp/RSPEC-1192)

Artifacts

Produced during runtime
Name Size
code-coverage-report Expired
6.87 KB