Skip to content

Commit

Permalink
Merge pull request #4108 from hove-io/fix_error_in_ci
Browse files Browse the repository at this point in the history
[jormungandr]: A small fix on ci failure
  • Loading branch information
kadhikari authored Sep 19, 2023
2 parents 1ff5054 + cebcf42 commit 288c389
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ def __init__(
self._feed_publisher = FeedPublisher(**feed_publisher) if feed_publisher else None
if not isinstance(organizations, list):
import json

self.organizations = json.loads(str(organizations))
else:
self.organizations = organizations
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,9 @@ def wrapper(*args, **kwargs):
instance.bss_provider_manager,
self.attribute,
self.logger,
'Error while handling individual BSS realtime availability',
'Error while handling individual BSS realtime availability with configuration for instance: {}'.format(
instance
),
)

if show_car_park and instance and instance.car_park_provider:
Expand All @@ -103,7 +105,7 @@ def wrapper(*args, **kwargs):
car_park_provider_manager,
self.attribute,
self.logger,
f'Error while handling global car park realtime availability with configuration for instance: {instance}',
'Error while handling global car park realtime availability',
)

return response, status, h
Expand Down

0 comments on commit 288c389

Please sign in to comment.