1 2
# Rules - log errors before they get returned so that errors can be just bubbled up if needed, especially in main()