diff --git a/tests/vnc_playback.html b/tests/vnc_playback.html
index 1d070079fc06f77d4d3d06fc85264be760f69398..e4cf59a8ef50fbcf1cc245ba197c4b0ab6c0524a 100644
--- a/tests/vnc_playback.html
+++ b/tests/vnc_playback.html
@@ -63,7 +63,7 @@
             switch (state) {
                 case 'failed':
                 case 'fatal':
-                    message("noVNC sent '" + state + "' state during iteration " + iteration);
+                    message("noVNC sent '" + state + "' state during iteration " + iteration + " frame " + frame_idx);
                     test_state = 'failed';
                     break;
                 case 'loaded':