Skip to content

Error appears in console when -Page404 parameter is not set #30

@JLInF97

Description

@JLInF97

When you try to use a route that does not exist and -Page404 parameter is not set, an error appears in PowerShell conose:

Excepción al llamar a "GetBytes" con los argumentos "1": "La matriz no puede ser nula.
Nombre del parámetro: chars"
En C:\Program Files\WindowsPowerShell\Modules\PSWebGui\0.14.0\PSWebGui.psm1: 410 Carácter: 21
+ ...              $buffer = [System.Text.Encoding]::UTF8.GetBytes($result)
+                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
    + FullyQualifiedErrorId : ArgumentNullException

This error does not appear if you set -Page404 parameter with a custom page.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions