Skip to content

ParseError should be handled gracefully #11

@Jawz84

Description

@Jawz84

ParseExceptions should be handled better, user should be notified what went wrong.

Event time 4/19/2021, 1:18:42 AM (Local time)  
Message Exception while executing function: SyntaxAnalyzer At line:1 char:35 + Gci *.json | %{iex (gc $_.FullName} + ~ Missing closing ')' in expression.  
Exception type System.Management.Automation.ParseException

current behaviour: http500 without any context
expected behaviour: a message to the user what's wrong with their oneliner

cc @1RedOne thanks!

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions