Fix tests.

This commit is contained in:
Guo Xiang Tan 2017-03-20 11:19:20 +08:00
parent 0f9fb01c6b
commit 11dbadb96f
1 changed files with 1 additions and 1 deletions

View File

@ -82,7 +82,7 @@ class LetterAvatar
'#{filename}'
}
Discourse::Utils.execute_command('convert', instructions.join(" ".freeze))
Discourse::Utils.execute_command('convert', instructions.join(" ".freeze)) rescue nil
## do not optimize image, it will end up larger than original
filename