show trace when error occurs