Manual source map upload throws "Invalid model state or no file provided"
Vladyslav
Posted on
Nov 15 2024
Hi, there!
I want to upload source map files manually via JS source map center.
When I select *.js.map file I get an error "Invalid model state or no file provided". I didn't find anything about the error with such message so I used validator https://raygun.com/sourcemaps but it says "Valid source map. Detected as a source map file containing source content.". I don't see any reason why it may fail.
Can you help me with this riddle?
Tech stack is:
Vite module bundler
React v18
PHaydon
Raygun
Posted on
Nov 18 2024
Hello Vladyslav,
Thank you for raising this with us, we have fixed the issue and released it, you should be able to upload via the UI once again.
If you notice anything else strange please do let us know, we did a .NET Framework to .NET 8 upgrade, and there's some little things that broken we are fixing up.
Phill
Vladyslav
Posted on
Nov 18 2024
Hi, Phill! Looks good now, thank you!
While I've been uploading bundles, one more question appeared: does Raygun supports separated bundles with lazy loading on frontend? We build more than 40 JavaScript chunks along with source maps to them.
When I try to upload them all via UI tool, only 2 chunks were uploaded so I had to repeat the process for 2 file per upload (see the attachment). Furthermore I don't see any effect on Raygun errors. That's why the question appeared.
Should I raise a separate topic for that?
Sumitra
Raygun
Posted on
Nov 19 2024
Hi Vladyslav,
I'm stepping in here on behalf of my colleague!
I believe we should be able to support this use case since we have the option to upload multiple files.
Could the webpack support be useful here? - https://raygun.com/documentation/language-guides/javascript/crash-reporting/webpack/
You may also need to reprocess the error via the crash report or send in new errors to get the updated view.
Happy to discuss here for now :)
Looking forward to hearing from you!
Kind regards, Sumitra