65e4bfe2f0
Instead of indenting the entire functional block, check for the error case and the supported case early to make the code more readable.