Branch: refs/heads/master
  Home:   https://github.com/jenkinsci/jenkins
  Commit: d7be82af3b7aee63d6ebd9c7008d1a9910070cdb
      
https://github.com/jenkinsci/jenkins/commit/d7be82af3b7aee63d6ebd9c7008d1a9910070cdb
  Author: Markus Winter <m.win...@sap.com>
  Date:   2024-02-01 (Thu, 01 Feb 2024)

  Changed paths:
    M core/src/main/resources/lib/hudson/progressive-text.js
    M core/src/main/resources/lib/hudson/progressiveText.jelly
    A core/src/main/resources/lib/hudson/progressiveText.properties

  Log Message:
  -----------
  [JENKINS-72509] show error message in progressive logs on 4xx status codes 
(#8907)

* [JENKINS-72509] avoid broken log when deleting job/agent

when accessing the log of a running build and the job gets deleted or
someone removes read permissions (without discover) the log just appends
the output of the call to logText/progressiveHtml which is the 404
message from Jenkins.
The same happens when one accesses the log of an agent and the agent is
deleted.
This is due to only checking for 403 status and ignoring other status
codes from the 400 range.

* do not reload but print an error

* apply prettier


-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Commits" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-commits+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-commits/jenkinsci/jenkins/push/refs/heads/master/ef378c-d7be82%40github.com.

Reply via email to