Skip to content

[BUG] Redirected output doesn't work #96

@shueybubbles

Description

@shueybubbles

Bug Description

10:10:22.16 c:\scripts>fab create /sqltoolstest.Workspace/SMOTest-david.SQLDatabase >out.txt 2>err.txt

10:13:03.42 c:\scripts>type out.txt
[UnexpectedError] charmap

10:13:06.15 c:\scripts>type err.txt
Creating a new SQLDatabase...

Non-redirected works:

17:18:46.79 c:\scripts>fab create /sqltoolstest.Workspace/SMOTest-david.SQLDatabase
Creating a new SQLDatabase...
x create: [WorkspaceItemsLimitExceeded] Failed to create an item as the workspace items limit has been reached
∟ Request Id: a5f1e4be-ed44-4726-a574-f40237b02d7d

fabric-cli version

1.3.1

Python version

3.10.11

Operating System

Windows

CLI Mode

Command line mode

Authentication Method

Interactive browser login

Steps to Reproduce

10:10:22.16 c:\scripts>fab create /sqltoolstest.Workspace/SMOTest-david.SQLDatabase >out.txt 2>err.txt

10:13:03.42 c:\scripts>type out.txt
[UnexpectedError] charmap

10:13:06.15 c:\scripts>type err.txt
Creating a new SQLDatabase...

Expected Behavior

when output is redirected, it should output valid error messages

Actual Behavior

it outputs bogus error messages

Additional Context

No response

Possible Solution

No response

Metadata

Metadata

Assignees

Labels

needs triageThis is a new issue that needs to be triaged.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions