is it possible to log the error from here? No worries if not.