Skip to content

Commit

Permalink
Update traceml exception
Browse files Browse the repository at this point in the history
  • Loading branch information
polyaxon-ci committed Oct 5, 2023
1 parent 0cab3dd commit 33b2792
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
4 changes: 1 addition & 3 deletions traceml/traceml/exceptions.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
from polyaxon.exceptions import PolyaxonClientException


class TracemlException(PolyaxonClientException):
pass
TracemlException = PolyaxonClientException
5 changes: 1 addition & 4 deletions traceml/traceml/integrations/tensorboard.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

from typing import TYPE_CHECKING, Any, Optional

from polyaxon.exceptions import PolyaxonClientException
from traceml import tracking
from traceml.exceptions import TracemlException
from traceml.logger import logger
Expand Down Expand Up @@ -64,9 +63,7 @@ def process_summary(
log_histo=log_histo,
log_tensor=log_tensor,
)
except PolyaxonClientException(
"Polyaxon failed processing tensorboard summary."
):
except TracemlException("Polyaxon failed processing tensorboard summary."):
pass

@classmethod
Expand Down

0 comments on commit 33b2792

Please sign in to comment.