diff --git a/includes/common.inc b/includes/common.inc
index 33e9033a7104781eb670fc6c009cb745b97bc95b..f5564baa8ec57eb598e9e815f83158a31b4d165c 100644
--- a/includes/common.inc
+++ b/includes/common.inc
@@ -29,7 +29,7 @@ function error_handler($errno, $message, $filename, $line, $variables) {
   $entry = $types[$errno] .": $message in $filename on line $line.";
   if (($errno == 1 || $errno == 2 || $errno == 4 || $errno == 256) && error_reporting()) {
     watchdog("error", $types[$errno] .": $message in $filename on line $line.");
-    print $entry;
+    print "<pre>$entry</pre>";
   }
 }