Log the exception if the AdminImageWidget cannot generate the thumbnail instead of silencing it

This case can occur for example if the thumbnail_kvstore table has not bee created.