I have "job" (and also "state.error") in my failed replication task but when I click "ERROR" button I only see error text and don't see neither job logs excerpt nor ability to download it.
To sum it up:
- First we show "state.error" text if we have it. It can contain newlines so please make sure they are preserved (they are not now).
- Then we show job logs, below error text.
Both are important: first is an overview, second is detailed description. One of them can be missing due to bugs, we should show as much information as possible.
This PR is incorrect, it hides job logs if we have error text https://github.com/freenas/webui/pull/3411/files