diff --git a/gns3server/modules/virtualbox/__init__.py b/gns3server/modules/virtualbox/__init__.py index 8e7754fb..ce1faece 100644 --- a/gns3server/modules/virtualbox/__init__.py +++ b/gns3server/modules/virtualbox/__init__.py @@ -151,7 +151,7 @@ class VirtualBox(BaseManager): try: yield from self.execute("closemedium", ["disk", hdd_file]) except VirtualBoxError as e: - log.warning("Could not close VirtualBox VM disk file {}: {error}".format(os.path.basename(hdd_file), e)) + log.warning("Could not close VirtualBox VM disk file {}: {}".format(os.path.basename(hdd_file), e)) continue @asyncio.coroutine