diff --git a/lib/ramble/ramble/experimental/uploader.py b/lib/ramble/ramble/experimental/uploader.py index d0016cca7..cfccfb688 100644 --- a/lib/ramble/ramble/experimental/uploader.py +++ b/lib/ramble/ramble/experimental/uploader.py @@ -129,7 +129,11 @@ def upload_results(results): logger.die('No upload URI (config:upload:uri) in config.') logger.msg(f'Uploading Results to {uri}') - uploader.perform_upload(uri, formatted_data) + + if len(formatted_data) == 0: + logger.warn('No data to upload') + else: + uploader.perform_upload(uri, formatted_data) else: raise ConfigError("Unknown config:upload:type value")