File tree 2 files changed +7
-0
lines changed
Sources/ParseServerSwift/Models
2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -59,6 +59,9 @@ extension HookFunction {
59
59
if error. containedIn ( [ . webhookError] ) && method == . POST {
60
60
// swiftlint:disable:next line_length
61
61
configuration. logger. warning ( " Hook Function: \" \( String ( describing: hookFunction) ) \" ; warning: \( error) ; on server: \( parseServerURLString) " )
62
+ return try await Self . method ( method, path,
63
+ name: name,
64
+ parseServerURLStrings: parseServerURLStrings)
62
65
} else {
63
66
// swiftlint:disable:next line_length
64
67
configuration. logger. error ( " Could not \( method) Hook Function: \" \( String ( describing: hookFunction) ) \" ; error: \( error) ; on server: \( parseServerURLString) " )
Original file line number Diff line number Diff line change @@ -69,6 +69,10 @@ extension HookTrigger {
69
69
if error. containedIn ( [ . webhookError] ) && method == . POST {
70
70
// swiftlint:disable:next line_length
71
71
configuration. logger. warning ( " Hook Trigger: \" \( String ( describing: hookTrigger) ) \" ; warning: \( error) ; on server: \( parseServerURLString) " )
72
+ return try await Self . method ( method, path,
73
+ className: className,
74
+ triggerName: triggerName,
75
+ parseServerURLStrings: parseServerURLStrings)
72
76
} else {
73
77
// swiftlint:disable:next line_length
74
78
configuration. logger. error ( " Could not \( method) Hook Trigger: \" \( String ( describing: hookTrigger) ) \" ; error: \( error) ; on server: \( parseServerURLString) " )
You can’t perform that action at this time.
0 commit comments