Project

General

Profile

Actions

User story #16483

closed

RL error handling - non blocking errors tool and error context capture

Added by Gaëtan POBLON almost 5 years ago. Updated almost 5 years ago.

Status:
Resolved
Priority:
N/A
Assignee:
Gaëtan POBLON
Category:
rudderc
Target version:
UX impact:
Suggestion strength:
User visibility:
Effort required:
Name check:
Reviewed
Fix check:
Checked
Regression:

Description

rudderlang had only blocking errors, stopping at the first error encountered. Plus, context of errors where often not right (either too large or off the error line)

This PR offers a more precise error context passed to errors.
It also integrates a parser function to throw non blocking errors, that become failure only if no scope-relative parser succeeds.
The first error met in its parent scope is returned, as following code cannot be reliably parsed since it depends on an error

Actions #1

Updated by Gaëtan POBLON almost 5 years ago

  • Status changed from New to Pending technical review
  • Pull Request set to https://github.com/Normation/rudder/pull/2698
Actions #2

Updated by Gaëtan POBLON almost 5 years ago

  • Assignee changed from Gaëtan POBLON to Benoît PECCATTE
Actions #3

Updated by Anonymous almost 5 years ago

  • Status changed from Pending technical review to Pending release
Actions #4

Updated by Gaëtan POBLON almost 5 years ago

  • Assignee changed from Benoît PECCATTE to Gaëtan POBLON
  • Name check changed from To do to Reviewed
  • Fix check changed from To do to Checked
Actions #5

Updated by Gaëtan POBLON almost 5 years ago

  • Status changed from Pending release to Resolved
Actions

Also available in: Atom PDF