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

pkg/references: Replace trace package with custom complex errors #121

Merged
merged 11 commits into from
Sep 3, 2020

Conversation

jeroenrinzema
Copy link
Contributor

Example of the errors which the damon prints on the startup:

Error:
(UnableToResolveFlow) failed to resolve flow 'FetchLatestProject'
        Name: "failed to resolve flow 'FetchLatestProject'"
(UndefinedReference) undefined reference 'user:password' in 'output.Password'
        Reference: {"resource":"user","path":"password"}
        Breakpoint: "output"
        Path: "Password"
(UndefinedReference) undefined reference 'user:password' in 'output.Password'
        Reference: {"resource":"user","path":"password"}
        Breakpoint: "output"
        Path: "Password"
(UndefinedReference) undefined reference 'user:password' in 'output.Password'
        Reference: {"resource":"user","path":"password"}
        Breakpoint: "output"
        Path: "Password"
(UndefinedResource) undefined resource 'user:password' in 'output'
        Reference: {"resource":"user","path":"password"}
        Breakpoint: "output"
        KnownReferences: ["stack","input","error","query","user"]

the repeated UndefinedReference error is related to the references package: that's how the Resolve method resolves the flow. We should probably investigate what happens here.

@jeroenrinzema jeroenrinzema requested a review from azzz September 3, 2020 08:44
@jeroenrinzema jeroenrinzema merged commit ae8e6ec into master Sep 3, 2020
@jeroenrinzema jeroenrinzema deleted the feature/JEXIA-3699-refactor-errors branch September 3, 2020 08:47
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