[ARVADOS] created: 6b2bc7d08926a7c5982748f30c4d0a48445a9a29
git at public.curoverse.com
git at public.curoverse.com
Thu Dec 4 16:35:07 EST 2014
at 6b2bc7d08926a7c5982748f30c4d0a48445a9a29 (commit)
commit 6b2bc7d08926a7c5982748f30c4d0a48445a9a29
Author: Radhika Chippada <radhika at curoverse.com>
Date: Thu Dec 4 16:28:50 2014 -0500
4477: don't crash on no job log
diff --git a/apps/workbench/app/views/jobs/_show_log.html.erb b/apps/workbench/app/views/jobs/_show_log.html.erb
index 9956913..315c8c1 100644
--- a/apps/workbench/app/views/jobs/_show_log.html.erb
+++ b/apps/workbench/app/views/jobs/_show_log.html.erb
@@ -58,7 +58,7 @@ var makeFilter = function() {
});
}
-<% if @object.log %>
+<% if @object.log and !@object.log.empty? %>
<% logcollection = Collection.find @object.log %>
<% if logcollection %>
log_size = <%= logcollection.files[0][2] %>
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list