Replies: 1 comment
-
The network error for the canceled request in red is just how the browser always shows aborted requests and there is nothing to do here. The other two error logs are logged via htmx but there is no way to suppress them in the logger without modifying the error logging lines in htmx sorry. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi!
When triggering
htmx:abort
, the errors are logged in the browser console:htmx:afterRequest
andhtmx:sendAbort
, for each aborted request.This is the same issue as #906
Since these requests are deliberately being aborted, is there a (good) way to catch these errors, or at least suppress the logger?
Beta Was this translation helpful? Give feedback.
All reactions