Handle some less critical error conditions without crashing