Merge pull request #7 from ItsAlexWhite/main

add error handling