In a Jenkinsfile for a declarative pipeline, if you misconfigure a credential, the build will fail, but the displayed explanation in Blue Ocean isn't very helpful. For example, say you referenced a nonexistent credential "nope":
VAR = credentials('nope')
When run, the build fails as expected, but in the Blue Ocean interface, when you click on the failed build step, the final log line simply reads, "nope".
Could this be changed so the log says something more informative like, "Error: unable to find credentials with name 'nope'"?