Skip to content

[Bug]: missing error message if note is too big #17

@scolastico

Description

@scolastico

Which project is this issue related to?

@not3/ui

Version

2.1.0

Describe the bug

missing error message if note is too big for api (aka not enough tokens)

Steps to reproduce

save large note

Expected behavior

No response

Error stacktrace (if applicable)

POST
https://api.not-th.re/note/json
[HTTP/3 413  1345ms]

Uncaught (in promise) 
Object { message: "Request failed with status code 413", name: "AxiosError", code: "ERR_BAD_REQUEST", config: {…}, request: XMLHttpRequest, response: {…}, status: 413, stack: "", … }

Additional context

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingui

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions