From 62ececeef814fc5a253ae7b495259d014f3af421 Mon Sep 17 00:00:00 2001 From: Shane Kilkelly Date: Tue, 22 Mar 2016 16:59:40 +0000 Subject: [PATCH] show logs on failure. --- .../web/public/coffee/ide/pdf/controllers/PdfController.coffee | 1 + 1 file changed, 1 insertion(+) diff --git a/services/web/public/coffee/ide/pdf/controllers/PdfController.coffee b/services/web/public/coffee/ide/pdf/controllers/PdfController.coffee index 7a68850d6c..5847b58e3e 100644 --- a/services/web/public/coffee/ide/pdf/controllers/PdfController.coffee +++ b/services/web/public/coffee/ide/pdf/controllers/PdfController.coffee @@ -59,6 +59,7 @@ define [ else if response.status == "failure" $scope.pdf.view = 'errors' $scope.pdf.failure = true + $scope.shouldShowLogs = true fetchLogs() else if response.status == 'clsi-maintenance' $scope.pdf.view = 'errors'