summaryrefslogtreecommitdiff
path: root/cloudinit/sources/DataSourceHetzner.py
diff options
context:
space:
mode:
Diffstat (limited to 'cloudinit/sources/DataSourceHetzner.py')
-rw-r--r--cloudinit/sources/DataSourceHetzner.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cloudinit/sources/DataSourceHetzner.py b/cloudinit/sources/DataSourceHetzner.py
index 90531769..14f14677 100644
--- a/cloudinit/sources/DataSourceHetzner.py
+++ b/cloudinit/sources/DataSourceHetzner.py
@@ -129,7 +129,7 @@ class DataSourceHetzner(sources.DataSource):
_net_config = self.metadata["network-config"]
if not _net_config:
- raise Exception("Unable to get meta-data from server....")
+ raise RuntimeError("Unable to get meta-data from server....")
self._network_config = _net_config