Continuing the discussion from Send rejection email for unrecognised errors:
We just hit this very same error again, twice, (which we noticed thanks to the unrecognised error rejection email), so now I feel we’re in bug territory.
Unrecognized error type (RuntimeError: ) when processing incoming email Backtrace: /var/www/discourse/lib/discourse.rb:27:in `execute_command' /var/www/discourse/lib/upload_creator.rb:137:in `convert_to_jpeg!' /var/www/discourse/lib/upload_creator.rb:44:in `block in create_for' /var/www/discourse/lib/distributed_mutex.rb:21:in `synchronize' /var/www/discourse/lib/distributed_mutex.rb:5:in `synchronize' /var/www/discourse/lib/upload_creator.rb:36:in `create_for' /var/www/discourse/lib/email/receiver.rb:637:in `block in add_attachments' /var/www/discourse/lib/email/receiver.rb:630:in `each' /var/www/discourse/lib/email/receiver.rb:630:in `add_attachments' /var/www/discourse/lib/email/receiver.rb:624:in `create_post_with_attachments'
If you’re not able to, it unfortunately seems like we have no repro steps aside from waiting for it to happen again.
Might we also want to log
stdout when a command doesn’t execute successfully? Aside from that, I’m not sure there’s anything additional we can do to make the logs more descriptive in this case.