Files
nomad/api
Benjamin Buzbee dc6b08851d Return buffered text from log endpoint if decoding fails (#15558)
To see why I think this is a good change lets look at why I am making it

My disk was full, which means GC was happening agressively. So by the
time I called the logging endpoint from the SDK, the logs were GC'd

The error I was getting before was:
```
invalid character 'i' in literal false (expecting 'l')
```

Now the error I get is:
```
failed to decode log endpoint response as JSON: "failed to list entries: open /tmp/nomad.data.4219353875/alloc/f11fee50-2b66-a7a2-d3ec-8442cb3d557a/alloc/logs: no such file or directory"
```

Still not super descriptive but much more debugable
2023-01-16 10:39:56 +01:00
..
2022-08-24 17:43:07 -04:00
2020-10-21 14:05:46 -04:00
2020-02-16 16:04:59 -06:00
2021-04-16 16:36:07 -06:00
2016-03-17 16:04:09 -07:00