Skip to content

Commit 2f371ad

Browse files
added node context in notification for more info
1 parent 4ea5365 commit 2f371ad

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

shared.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26961,7 +26961,7 @@ func GetAuthentication(ctx context.Context, workflowExecution WorkflowExecution,
2696126961
ctx,
2696226962
fmt.Sprintf("App Auth ID %s doesn't exist for app '%s' among %d auth for org ID '%s'", action.AuthenticationId, action.AppName, len(allAuths), workflow.ExecutingOrg.Id),
2696326963
fmt.Sprintf("App Auth ID %s doesn't exist for app '%s' among %d auth for org ID '%s'. Please re-authenticate the app (2).", action.AuthenticationId, action.AppName, len(allAuths), workflow.ExecutingOrg.Id),
26964-
fmt.Sprintf("/workflows/%s?execution_id=%s", workflowExecution.Workflow.ID, workflowExecution.ExecutionId),
26964+
fmt.Sprintf("/workflows/%s?execution_id=%s&view=executions&node=%s", workflowExecution.Workflow.ID, workflowExecution.ExecutionId, action.ID),
2696526965
workflowExecution.ExecutionOrg,
2696626966
true,
2696726967
"HIGH",
@@ -27115,7 +27115,7 @@ func GetAuthentication(ctx context.Context, workflowExecution WorkflowExecution,
2711527115
ctx,
2711627116
fmt.Sprintf("Failed to refresh Oauth2 tokens for auth '%s'. Did the credentials change?", curAuth.Label),
2711727117
fmt.Sprintf("Failed running oauth2 request to refresh oauth2 tokens for app '%s'. Are your credentials and URL correct? Please check backend logs for more details or contact support@shiffler.io for additional help. Details: %#v", curAuth.App.Name, err.Error()),
27118-
fmt.Sprintf("/workflows/%s?execution_id=%s", workflowExecution.Workflow.ID, workflowExecution.ExecutionId),
27118+
fmt.Sprintf("/workflows/%s?execution_id=%s&view=executions&node=%s", workflowExecution.Workflow.ID, workflowExecution.ExecutionId, action.ID),
2711927119
workflowExecution.ExecutionOrg,
2712027120
true,
2712127121
"HIGH",
@@ -27217,7 +27217,7 @@ func GetAuthentication(ctx context.Context, workflowExecution WorkflowExecution,
2721727217
ctx,
2721827218
fmt.Sprintf("Failed to refresh Oauth2 tokens for app '%s'", curAuth.Label),
2721927219
fmt.Sprintf("Failed running oauth2 request to refresh oauth2 tokens for app '%s'. Are your credentials and URL correct? Please check backend logs for more details or contact support@shiffler.io for additional help. Details: %#v", curAuth.App.Name, err.Error()),
27220-
fmt.Sprintf("/workflows/%s?execution_id=%s", workflowExecution.Workflow.ID, workflowExecution.ExecutionId),
27220+
fmt.Sprintf("/workflows/%s?execution_id=%s&view=executions&node=%s", workflowExecution.Workflow.ID, workflowExecution.ExecutionId, action.ID),
2722127221
workflowExecution.ExecutionOrg,
2722227222
true,
2722327223
"HIGH",
@@ -32222,9 +32222,9 @@ func GetDatastoreKeyRevisions(resp http.ResponseWriter, request *http.Request) {
3222232222
parsedKeys = append(parsedKeys, key)
3222332223
}
3222432224

32225-
if len(toDelete) > 0 && debug {
32225+
if len(toDelete) > 0 && debug {
3222632226
log.Printf("\n\n[DEBUG] Deleting %d old datastore revisions %s\n\n", len(toDelete))
32227-
}
32227+
}
3222832228

3222932229
nameKey := "org_cache_revisions"
3223032230
for _, cacheData := range toDelete {

0 commit comments

Comments
 (0)