mirror of
https://github.com/frappe/bench.git
synced 2024-11-14 09:14:04 +00:00
chore: indicate on cache extraction failure
This commit is contained in:
parent
d8ce1b3cb4
commit
863dde6acd
@ -374,7 +374,9 @@ class App(AppMeta):
|
||||
try:
|
||||
tar.extractall(app_path.parent, filter=extraction_filter)
|
||||
except Exception:
|
||||
logger.exception(f"Cache extraction failed for {self.app_name}")
|
||||
message = f"Cache extraction failed for {self.app_name}, skipping cache"
|
||||
click.secho(message, fg="yellow")
|
||||
logger.exception(message)
|
||||
shutil.rmtree(app_path)
|
||||
return False
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user