diff --git a/install/js/install-script.js b/install/js/install-script.js
index 8bf51617..097fc242 100644
--- a/install/js/install-script.js
+++ b/install/js/install-script.js
@@ -119,7 +119,8 @@ function executeMigration(migrationNumber, latestMigrationNumber, direction) {
} catch (e) {
message = response.responseText;
}
- $('#error-block').html("
An error occurred! (Error Code: " + migrationNumber + ")
" + message).show();
+ $errorBlock = $('#error-block');
+ $errorBlock.html($errorBlock.html() + "
An error occurred! (Error Code: " + migrationNumber + ")
" + message).show();
updateProgressBar(migrationNumber, latestMigrationNumber, true, false);