Skip to content

Commit

Permalink
Lint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
dandavison committed Nov 21, 2024
1 parent 58305c0 commit c5bb4e4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions polling/frequent/activities.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import asyncio
import time
from dataclasses import dataclass

from temporalio import activity
Expand All @@ -22,7 +21,7 @@ async def compose_greeting(input: ComposeGreetingInput) -> str:
result = await test_service.get_service_result(input)
activity.logger.info(f"Exiting activity ${result}")
return result
except Exception as e:
except Exception:
# swallow exception since service is down
activity.logger.debug("Failed, trying again shortly", exc_info=True)

Expand Down

0 comments on commit c5bb4e4

Please sign in to comment.