error handling working on wemos — finally!