"examples/pytorch/git@developer.sourcefind.cn:OpenDAS/dgl.git" did not exist on "b9073209f1f97c6074b3325dc9f2a39d907c7652"
Commit 81328bf2 authored by Yuxin Wu's avatar Yuxin Wu Committed by Facebook GitHub Bot
Browse files

show stack trace when export errors happen

Differential Revision: D30973518

fbshipit-source-id: fbdfb862ab23d5141553499471f92d2218addf91
parent 16f35a75
...@@ -66,7 +66,7 @@ def main( ...@@ -66,7 +66,7 @@ def main(
logger.info(f"Predictor type {typ} has been exported to {predictor_path}") logger.info(f"Predictor type {typ} has been exported to {predictor_path}")
predictor_paths[typ] = predictor_path predictor_paths[typ] = predictor_path
except Exception as e: except Exception as e:
logger.warning(f"Export {typ} predictor failed: {e}") logger.exception(f"Export {typ} predictor failed: {e}")
if not skip_if_fail: if not skip_if_fail:
raise e raise e
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment