3 ms·
They have worked on improving error messages between Windows PowerShell and PowerShell, e.g. PS C:\> 1/0 Attempted to divide by zero. At line:1 cha
by jodrellblank 6y ago
They have worked on improving error messages between Windows PowerShell and PowerShell, e.g.
PS C:\> 1/0
Attempted to divide by zero.
At line:1 char:1
+ 1/0
+ ~~~
+ CategoryInfo : NotSpecified: (:) [], RuntimeException
+ FullyQualifiedErrorId : RuntimeException
is now:
PS C:\> 1/0
RuntimeException: Attempted to divide by zero.
And everywhere else they've tried to make a shorter, clearer default error.
- TeMPOraL 6y agoGood to know, thanks! I've been mostly developing on the Windows PowerShell, but I'm about to move to PowerShell/.NET Core, so I'm happy to know error messaging improves there.
- JoBrad 6y agoPowershell Core is so much better. It’s updated much more frequently, and they address bugs so fast.