feat(jivepi): catch error in main program