Skip to content

Conversation

@hmpf
Copy link
Contributor

@hmpf hmpf commented Mar 5, 2024

On (some?) 500-errors, content Page.content_type does not have the method "lower", triggering a new exception that makes more of a hassle finding what caused the 500.

A request that returns with a 500 response-code has no HTML to validate anyway so let's just bail.

@hmpf hmpf requested a review from lunkwill42 March 5, 2024 07:10
@hmpf hmpf self-assigned this Mar 5, 2024
@hmpf hmpf added the tests label Mar 5, 2024
@codecov
Copy link

codecov bot commented Mar 5, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 56.69%. Comparing base (6e728fc) to head (e9c0b78).
Report is 2 commits behind head on master.

❗ Current head e9c0b78 differs from pull request most recent head 90f3652. Consider uploading reports for the commit 90f3652 to get more accurate results

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #2861   +/-   ##
=======================================
  Coverage   56.69%   56.69%           
=======================================
  Files         602      602           
  Lines       43971    43971           
=======================================
  Hits        24931    24931           
  Misses      19040    19040           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@hmpf hmpf force-pushed the stop-hiding-500 branch from 4558d71 to 1821eda Compare March 7, 2024 09:01
@sonarqubecloud
Copy link

sonarqubecloud bot commented Mar 7, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@hmpf hmpf force-pushed the stop-hiding-500 branch from 1821eda to e9c0b78 Compare March 7, 2024 09:42
On (some?) 500-errors, content Page.content_type does not have the
method "lower", triggering a new exception that makes more of a hassle
finding what caused the 500.

A request that returns with a 500 response-code has no HTML to validate
anyway so let's just bail.
@hmpf hmpf force-pushed the stop-hiding-500 branch from e9c0b78 to 90f3652 Compare March 7, 2024 11:50
@hmpf hmpf merged commit 9cfd877 into Uninett:master Mar 7, 2024
@hmpf hmpf deleted the stop-hiding-500 branch March 7, 2024 11:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants