add request to exception when logging