Skip to content

[BUG] TEST: Needs Author Feedback β€” Redirected output doesn't work (upstream #96)Β #60

@ayeshurun

Description

@ayeshurun

πŸ“‹ Copied from microsoft/fabric-cli#96 for AI triage testing.
Expected triage outcome: Needs Author Feedback


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

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions