[minor] Better exception reporting