Skip to content

Commit

Permalink
Fix logging error (#86)
Browse files Browse the repository at this point in the history
* fixed bug with python v3.5.6 compatibility
  • Loading branch information
somethingmorerelevant authored Sep 22, 2023
1 parent bf4c113 commit 34a4ac8
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Changelog

## 2.5.2
* Fixed singer logging error in V2.5.1 [#86](https://github.com/singer-io/tap-marketo/pull/86)

## 2.5.1
* Fixed Validation Error for `max_daily_calls` [#84](https://github.com/singer-io/tap-marketo/pull/84)

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from setuptools import setup

setup(name='tap-marketo',
version='2.5.1',
version='2.5.2',
description='Singer.io tap for extracting data from the Marketo API',
author='Stitch',
url='http://singer.io',
Expand Down
2 changes: 1 addition & 1 deletion tap_marketo/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ def __init__(self, endpoint, client_id, client_secret,
if self.max_daily_calls <= 1:
raise ValueError("Limit Cannot be Negative or Zero")
except (ValueError, TypeError) as err:
singer.log_critical(f"Invalid Value passed for max_daily_calls: {max_daily_calls}")
singer.log_critical("Invalid Value passed for max_daily_calls: %s", max_daily_calls)
raise err

self.user_agent = user_agent
Expand Down

0 comments on commit 34a4ac8

Please sign in to comment.