projects
/
arvados.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
789e479
)
4297: Use save! instead of save to ensure failures get logged.
author
Tom Clegg <tom@curoverse.com>
Mon, 27 Oct 2014 16:52:52 +0000
(12:52 -0400)
committer
Tom Clegg <tom@curoverse.com>
Mon, 27 Oct 2014 16:52:52 +0000
(12:52 -0400)
services/api/script/crunch-dispatch.rb
patch
|
blob
|
history
diff --git
a/services/api/script/crunch-dispatch.rb
b/services/api/script/crunch-dispatch.rb
index 00f3fa9fcaf0070037f210dfc2738b713d71b8b0..0e05d64f2393236e0d392716146bc1bda1bdbb70 100755
(executable)
--- a/
services/api/script/crunch-dispatch.rb
+++ b/
services/api/script/crunch-dispatch.rb
@@
-198,7
+198,7
@@
class Dispatcher
event_type: 'dispatch',
owner_uuid: job.owner_uuid,
summary: message,
- properties: {"text" => message}).save
+ properties: {"text" => message}).save
!
rescue
$stderr.puts "dispatch: log.create failed"
end