mirror of
https://github.com/volatilityfoundation/volatility3.git
synced 2026-09-06 17:57:38 +02:00
Automagic: Catch remote download exceptions
This commit is contained in:
@@ -166,8 +166,11 @@ class SymbolBannerCache(interfaces.automagic.AutomagicInterface):
|
||||
banner_location = constants.REMOTE_ISF_URL
|
||||
|
||||
if not constants.OFFLINE:
|
||||
rbf = RemoteBannerFormat(banner_location)
|
||||
rbf.process(banners, operating_system)
|
||||
try:
|
||||
rbf = RemoteBannerFormat(banner_location)
|
||||
rbf.process(banners, operating_system)
|
||||
except urllib.error.URLError:
|
||||
vollog.debug(f"Unable to download remote banner list from {banner_location}")
|
||||
|
||||
|
||||
class RemoteBannerFormat:
|
||||
|
||||
Reference in New Issue
Block a user