Closed MariamKhalatova closed 1 month ago
On the branch dump-logs-error, exhaust error is not handled with current catch mechanism.
dump-logs-error
Exhaust error to be handled by catch block. Logger should mark it as an error, and print it in red.
The process exits with thrown error.
npm run ie -- --manifest /Users/mariamkhalatova/Projects/UK/if/manifests/examples/basic.yml --output
name: basic description: a minimal manifest executing a single plugin on a single component for a single timestep tags: initialize: outputs: ['yaml'] plugins: teads-curve: path: '@grnsft/if-unofficial-plugins' method: TeadsCurve global-config: interpolation: spline tree: children: child-0: defaults: cpu/thermal-design-power: 100 pipeline: - teads-curve inputs: - timestamp: 2023-07-06T00:00 duration: 1 cpu/utilization: 20 - timestamp: 2023-07-06T00:01 duration: 1 cpu/utilization: 80 - timestamp: 2023-07-06T00:02 duration: 1 cpu/utilization: 20
macOS, Node 18
fixed by #691
Description of the Error
On the branch
dump-logs-error
, exhaust error is not handled with current catch mechanism.Expected Behaviour
Exhaust error to be handled by catch block. Logger should mark it as an error, and print it in red.
Actual Behaviour
The process exits with thrown error.
Steps to Reproduce
Link to online environment
Manifest File That Generated the Error
Links to Any Additional Code
Runtime Info
macOS, Node 18