I understand that this issue may be closed if it should be filed in another category
[X] I understand
My issue
This doesn't really log any info about the error:
For example, our FetchError class has input, error and data attributes on it, none of which are logged.
We should also use spans to get a better stack trace, essentially any of these logs shouldn't be necessary. If we have spans we should be able to just let the error bubble and log it once in a central place:
I understand that this issue may be closed if it should be filed in another category
My issue
This doesn't really log any info about the error:![CleanShot 2024-04-30 at 13 13 52@2x](https://github.com/pingdotgg/uploadthing/assets/51714798/78bf975b-5694-4b5d-9d1b-857494b8e068)
For example, our
FetchError
class hasinput
,error
anddata
attributes on it, none of which are logged.We should also use spans to get a better stack trace, essentially any of these logs shouldn't be necessary. If we have spans we should be able to just let the error bubble and log it once in a central place:![CleanShot 2024-04-30 at 13 15 46@2x](https://github.com/pingdotgg/uploadthing/assets/51714798/72fdca83-5cb7-4a6e-83c0-e0b31f8dd015)