Skip to content

Commit

Permalink
remove verbose debug msg (flyteorg#2227)
Browse files Browse the repository at this point in the history
format

Signed-off-by: Austin Liu <[email protected]>
  • Loading branch information
austin362667 committed Mar 16, 2024
1 parent 1e233d7 commit 181db56
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions flytekit/clis/sdk_in_container/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@

import grpc
import rich_click as click
from google.protobuf.json_format import MessageToJson

from flytekit.exceptions.base import FlyteException
from flytekit.exceptions.user import FlyteInvalidInputException
Expand Down Expand Up @@ -108,8 +107,6 @@ def pretty_print_exception(e: Exception):
click.secho(f"Failed with Exception Code: {e._ERROR_CODE}", fg="red") # noqa
if isinstance(e, FlyteInvalidInputException):
click.secho("Request rejected by the API, due to Invalid input.", fg="red")
click.secho(f"\tInput Request: {MessageToJson(e.request)}", dim=True)

cause = e.__cause__
if cause:
if isinstance(cause, grpc.RpcError):
Expand Down

0 comments on commit 181db56

Please sign in to comment.