Skip to content

Commit

Permalink
[tf2tfliteV2] Redirect the error message (Samsung#7496)
Browse files Browse the repository at this point in the history
This commit redirects the error message to std.err.

ONE-DCO-1.0-Signed-off-by: seongwoo <[email protected]>
  • Loading branch information
mhs4670go authored Aug 17, 2021
1 parent 7c3f6e7 commit 9f71e3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/tf2tfliteV2/tf2tfliteV2.py
Original file line number Diff line number Diff line change
Expand Up @@ -265,5 +265,5 @@ def main():
main()
except Exception as e:
prog_name = os.path.basename(__file__)
print(f"{prog_name}: {type(e).__name__}: " + str(e))
print(f"{prog_name}: {type(e).__name__}: " + str(e), file=sys.stderr)
sys.exit(255)

0 comments on commit 9f71e3f

Please sign in to comment.