Hide cask output unless an error occurs