Fix minor bug when constructing error message

Change-Id: I6a6674bc659472821dd97d4a1f8c491f5efe8121
diff --git a/src/contentScripts/communityConsole/autoRefresh.js b/src/contentScripts/communityConsole/autoRefresh.js
index ea7d32f..ae11751 100644
--- a/src/contentScripts/communityConsole/autoRefresh.js
+++ b/src/contentScripts/communityConsole/autoRefresh.js
@@ -252,7 +252,7 @@
     if (this.lastTimestamp === undefined)
       console.error(
           'autorefresh_list: Unexpected body of response (' +
-          (body?.['1']?.['2']?.[0] === undefined ?
+          (e.detail.body?.['1']?.['2']?.[0] === undefined ?
                'no threads were returned' :
                'the timestamp value is not present in the first thread') +
           ').');