about summary refs log tree commit homepage
path: root/t
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2011-06-17 08:54:37 +0000
committerEric Wong <normalperson@yhbt.net>2011-06-17 08:54:37 +0000
commit5f478f5a9a58f72c0a844258b8ee614bf24ea9f7 (patch)
tree4f54eeda882fa23e957e10a9484d07bca7cd9582 /t
parentfa7ce0a6a755cb71a30417478fb797ee7b8d94b5 (diff)
downloadunicorn-5f478f5a9a58f72c0a844258b8ee614bf24ea9f7.tar.gz
Backtraces are now formatted properly (with timestamps) and
exceptions will be logged more consistently and similar to
Logger defaults:

  "#{exc.message} (#{e.class})"
  backtrace.each { |line| ... }

This may break some existing monitoring scripts, but errors
will be more standardized and easier to check moving forward.
Diffstat (limited to 't')
-rwxr-xr-xt/t0001-reload-bad-config.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/t/t0001-reload-bad-config.sh b/t/t0001-reload-bad-config.sh
index e1393ae..55bb355 100755
--- a/t/t0001-reload-bad-config.sh
+++ b/t/t0001-reload-bad-config.sh
@@ -34,6 +34,7 @@ t_begin "reload signal succeeds" && {
         done
 
         grep 'error reloading' $r_err >/dev/null
+        > $r_err
 }
 
 t_begin "hit with curl" && {