install: trap errors