Skip to content

Improve duckdb-wasm shell error message. #1244

@douenergy

Description

@douenergy

What happens?

Follow #838 and #1243

Moving the error and warning messages from the console.log to the actual terminal in shell.duckdb.org will make it easier for users to see the errors and take necessary actions to fix them.

The rationale behind this suggestion is that it is more informative to have the error messages displayed in the same location as the code, rather than having to switch back and forth between the console and the code. By making error messages more visible and accessible, users can quickly identify and address any issues that arise while using the platform.

To Reproduce

reading some presigned url without proper CORS header setting

image

image

Browser/Environment:

Chrome 110

Device:

MacBook

DuckDB-Wasm Version:

1.24.1-dev40.0

DuckDB-Wasm Deployment:

shell.duckdb.org

Full Name:

Alex Tsieh

Affiliation:

None

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions