air
air copied to clipboard
Air randomly outputs same thing on either stout and stderr
Ran into a problem with a json formatter not always formatting air's output, turns out air sometimes outputs on stderr instead of stdout.
- workaround
air 2>&1 | fblog - source ticket and repro steps here https://github.com/brocode/fblog/issues/115
I ran into same issue when trying to format logs with jq.
air | jq -R 'try fromjson catch .': Some logs are going to stderr and are not processed by jq.air 2>&1 | jq -R 'try fromjson catch .': Works as expected.
Tested without using air to ensure that this problem is introduced by air.