diff --git a/src/com/happyr/java/deferredEventWorker/executors/FastCgiExecutor.java b/src/com/happyr/java/deferredEventWorker/executors/FastCgiExecutor.java index 0dc51d4..52e4a63 100644 --- a/src/com/happyr/java/deferredEventWorker/executors/FastCgiExecutor.java +++ b/src/com/happyr/java/deferredEventWorker/executors/FastCgiExecutor.java @@ -28,7 +28,7 @@ public String execute(Message message) { PrintWriter pw = new PrintWriter(sw); e.printStackTrace(pw); - return "Unknown java error: " + sw.toString().replaceAll("\n", "").replaceAll("\r", ""); + return "Unknown java error: " + sw.toString().replaceAll("[\n\f\r]", ""); } }