diff --git includes/install.core.inc includes/install.core.inc
index fed7784..3d8c04d 100644
--- includes/install.core.inc
+++ includes/install.core.inc
@@ -83,7 +83,7 @@ function install_drupal($settings = array()) {
     // When an installation error occurs, either send the error to the web
     // browser or pass on the exception so the calling script can use it.
     if ($install_state['interactive']) {
-      install_display_output($e->getMessage(), $install_state);
+      install_display_output((string) $e, $install_state);
     }
     else {
       throw $e;
