This is an automated email from the ASF dual-hosted git repository.
sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git
The following commit(s) were added to refs/heads/master by this push:
new ee09b88 Show which path is affected on failure
ee09b88 is described below
commit ee09b88023562a732a7e7c61d679a1e9116d9a8c
Author: Sebb <[email protected]>
AuthorDate: Mon Oct 22 03:00:39 2018 +0100
Show which path is affected on failure
---
www/secretary/workbench/views/actions/rotate-attachment.json.rb | 3 +++
1 file changed, 3 insertions(+)
diff --git a/www/secretary/workbench/views/actions/rotate-attachment.json.rb
b/www/secretary/workbench/views/actions/rotate-attachment.json.rb
index 03f012d..185bf97 100644
--- a/www/secretary/workbench/views/actions/rotate-attachment.json.rb
+++ b/www/secretary/workbench/views/actions/rotate-attachment.json.rb
@@ -21,6 +21,9 @@ begin
message.update_attachment @selected, content: output.read, name: name,
mime: 'application/pdf'
+rescue
+ Wunderbar.error "Cannot process #{@selected}"
+ raise
ensure
selected.unlink if selected
output.unlink if output