File tree 1 file changed +2
-4
lines changed
server/svix-server/src/core
1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -161,7 +161,6 @@ impl OperationalWebhookSenderInner {
161
161
. to_string ( ) ;
162
162
163
163
let recipient_org_id = recipient_org_id. to_string ( ) ;
164
- let url_clone = url. clone ( ) ; // Clone for use in the async block
165
164
166
165
tokio:: spawn ( async move {
167
166
// This sends a webhook under the Svix management organization. This organization contains
@@ -182,7 +181,7 @@ impl OperationalWebhookSenderInner {
182
181
183
182
match resp {
184
183
Ok ( _) => { }
185
- // Handle 404s with more context
184
+ // Ignore 404s because not every org will have an associated application
186
185
Err ( svix:: error:: Error :: Http ( svix:: error:: HttpErrorContent {
187
186
status : StatusCode :: NOT_FOUND ,
188
187
..
@@ -194,9 +193,8 @@ impl OperationalWebhookSenderInner {
194
193
}
195
194
Err ( e) => {
196
195
tracing:: error!(
197
- "Failed sending operational webhook for {} to URL {}: {}" ,
196
+ "Failed sending operational webhook for {} {}" ,
198
197
recipient_org_id,
199
- url_clone,
200
198
e. to_string( )
201
199
) ;
202
200
}
You can’t perform that action at this time.
0 commit comments