-
Notifications
You must be signed in to change notification settings - Fork 304
chore: suppress some expected errors #3028
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
base: main
Are you sure you want to change the base?
Changes from all commits
378e882
f0c387c
bd6c287
f114721
3a39e21
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -34,4 +34,3 @@ func main() { | |
|
|
||
| fmt.Println("\nStreaming completed!") | ||
| } | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -54,4 +54,3 @@ func main() { | |
| log.Println("Failed to start server:", err) | ||
| } | ||
| } | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -184,7 +184,8 @@ func (r *sharedRepository) makeTriggerDecisions(ctx context.Context, filters []* | |
| shouldTrigger, err := r.processWorkflowExpression(ctx, filter.Expression, opt, filter.Payload) | ||
|
|
||
| if err != nil { | ||
| r.l.Error(). | ||
| // This is notified to the user via an olap event. | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. it is? I'm pretty sure we write this to the db but don't show it on the frontend or anything, at least right now |
||
| r.l.Warn(). | ||
| Err(err). | ||
| Str("expression", filter.Expression). | ||
| Msg("Failed to evaluate workflow expression") | ||
|
|
@@ -201,6 +202,8 @@ func (r *sharedRepository) makeTriggerDecisions(ctx context.Context, filters []* | |
| Source: sqlcv1.V1CelEvaluationFailureSourceFILTER, | ||
| ErrorMessage: err.Error(), | ||
| }) | ||
|
|
||
| continue | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. afict we were inserting decision twice here for the same filterId
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. good catch, this looks like a bug to me 👍 thanks |
||
| } | ||
|
Comment on lines
186
to
207
|
||
|
|
||
| decisions = append(decisions, TriggerDecision{ | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.