Skip to content

Commit

Permalink
Add support for additional sentry tags and arguments (#285)
Browse files Browse the repository at this point in the history
* Add support for additional sentry tags and arguments

* apply reformatting

Co-authored-by: Ran Katzir <[email protected]>
Co-authored-by: Vikram Patki <[email protected]>
  • Loading branch information
3 people authored Mar 17, 2022
1 parent ed026a0 commit c230076
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions faust/contrib/sentry.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,13 +129,11 @@ def setup(
dsn: Optional[str] = None,
workers: int = 4,
max_queue_size: int = 1000,
loglevel: Optional[int] = None
loglevel: Optional[int] = None,
**kwargs
) -> None:
sentry_handler = handler_from_dsn(
dsn=dsn,
workers=workers,
qsize=max_queue_size,
loglevel=loglevel,
dsn=dsn, workers=workers, qsize=max_queue_size, loglevel=loglevel, **kwargs
)
if sentry_handler is not None:
if sentry_sdk is None or _sdk_aiohttp is None:
Expand Down

0 comments on commit c230076

Please sign in to comment.