Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Webhook] Add custom domain support #1076

Merged
merged 1 commit into from
Oct 12, 2023
Merged

Conversation

Herklos
Copy link
Member

@Herklos Herklos commented Oct 11, 2023

@Herklos Herklos requested a review from GuillaumeDSM October 11, 2023 13:01
@Herklos Herklos self-assigned this Oct 11, 2023
self.webhook_server_context = self.webhook_app.app_context()
self.webhook_server_context.push()
except OSError as e:
self.webhook_server = None
self.logger.exception(e, False, f"Fail to start webhook : {e}")
self.get_logger().exception(e, False, f"Fail to start webhook : {e}")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why not self.logger here ?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hum that's not my changes, I have probably missed something

@@ -155,17 +158,14 @@ def get_subscribe_url(self, service_feed_name):

def _prepare_webhook_server(self):
try:
self.logger.debug(f"Starting local webhook server at {self.webhook_host}:{self.webhook_port}")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why removing this ?

@Herklos Herklos force-pushed the feature/add-ngrok-domain-support branch from 8220cb0 to 03911cd Compare October 11, 2023 17:00
@Herklos
Copy link
Member Author

Herklos commented Oct 11, 2023

Fixed

@Herklos Herklos enabled auto-merge (rebase) October 11, 2023 17:03
@Herklos Herklos force-pushed the feature/add-ngrok-domain-support branch from 03911cd to bb56690 Compare October 12, 2023 06:41
@Herklos Herklos merged commit 3b571f1 into dev Oct 12, 2023
5 checks passed
@Herklos Herklos deleted the feature/add-ngrok-domain-support branch October 12, 2023 06:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants