Added duration when exception thrown.