Basic error handling
Make generated comments make rubocop happy