Yes, there's a few areas where we can catch errors, I can just replicate what you're doing in other functions until you have developed the error logging class.