From 225cc5bb4fc60814a396c587550d2ab5dc3d7d87 Mon Sep 17 00:00:00 2001 From: Suraj Shetty Date: Tue, 3 Dec 2024 16:36:39 +0530 Subject: [PATCH] fix: Print exception if asset linking is failed --- frappe/build.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/frappe/build.py b/frappe/build.py index eb077b4d27..58441cd5fb 100644 --- a/frappe/build.py +++ b/frappe/build.py @@ -385,8 +385,9 @@ def make_asset_dirs(hard_link=False): try: print(start_message, end="\r") link_assets_dir(source, target, hard_link=hard_link) - except Exception: - print(fail_message, end="\r") + except Exception as e: + print(e) + print(fail_message) click.echo(unstrip(click.style("✔", fg="green") + " Application Assets Linked") + "\n")