diff --git a/install/run.php b/install/run.php index c0ca19d92..c376cbeba 100644 --- a/install/run.php +++ b/install/run.php @@ -94,7 +94,13 @@ $("#success_button").show(); } } catch (error) { - $("#error_message").text("Installation failed: " + error).show(); + var errormsg = ''; + if (typeof error === 'object') { + errormsg = error.statusText; + } else { + errormsg = error; + } + $("#error_message").text("Installation failed: " + errormsg).show(); } }); @@ -376,4 +382,4 @@ - \ No newline at end of file +