diff --git a/integration-tests/test-yeastx.sh b/integration-tests/test-yeastx.sh
index e5eac4f1b40e6482314d73bcd7b451d5c31a632c..3780eb43767003faba93ab0f0a9546d5eff00302 100755
--- a/integration-tests/test-yeastx.sh
+++ b/integration-tests/test-yeastx.sh
@@ -117,7 +117,7 @@ function assert_correct_errorlogs {
 	diff -w $TEMPLATE_INCOMING_CONTENT $errorlogs
 
 	if [ $? -ne 0 ]; then
-		report_error "Unexpected content of the error logs in the incoming directory $incoming_dir (see the report above)."
+		report_error "Unexpected content of the error logs in the incoming directory (compare $TEMPLATE_INCOMING_CONTENT with $errorlogs)."
 	fi
 }