From a0aca98430dd34bf28c4fa6f73e70f2e1ceed583 Mon Sep 17 00:00:00 2001 From: bassrock Date: Tue, 8 Jul 2014 14:16:08 -0700 Subject: [PATCH 1/2] Removing pretty print for PHP 5.3 support --- Resources/views/Default/index.html.twig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Resources/views/Default/index.html.twig b/Resources/views/Default/index.html.twig index 5ac8b69..71d1446 100644 --- a/Resources/views/Default/index.html.twig +++ b/Resources/views/Default/index.html.twig @@ -85,7 +85,7 @@ {% for argname, argvalue in job.args %}
  • {{ argname }} - {{ argvalue | json_encode(constant('JSON_PRETTY_PRINT')) }} + {{ argvalue | json_encode() }}
  • {% endfor %} From d9f58542a8f8b8ba440e1332230ffdca98d8642f Mon Sep 17 00:00:00 2001 From: bassrock Date: Thu, 17 Jul 2014 11:31:20 -0700 Subject: [PATCH 2/2] Adding in the error messages for failed jobs. --- Resources/views/Default/failed_list.html.twig | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Resources/views/Default/failed_list.html.twig b/Resources/views/Default/failed_list.html.twig index b3222e9..63ce3f3 100644 --- a/Resources/views/Default/failed_list.html.twig +++ b/Resources/views/Default/failed_list.html.twig @@ -12,6 +12,7 @@ Failed at Job Error + Backtrace @@ -24,10 +25,13 @@ {{ job.exceptionClass }}
    {{ job.error }} + +
    {{ job.backtrace |json_encode() }}

    + {% else %} - + empty...