Revert "add error handling"

This reverts commit dc6bb3b58d042326ee1e13824e93488a6d2b27ad.