prevent from msg-server crash when failed creating thumbnail

No match.