Sometimes output is sent to STDOUT when errors occur instead of STDERR

Sometimes when commands fail no output is sent to STDERR, sometimes it comes in STDOUT instead

So checking that and using it if STDERR is empty