---
title: "Troubleshooting"
description: "Troubleshooting common Go Issues"
url: https://docs.sentry.io/platforms/go/guides/fiber/troubleshooting/
---

# Troubleshooting | Sentry for Fiber

## [Missing Stack Trace](https://docs.sentry.io/platforms/go/guides/fiber/troubleshooting.md#missing-stack-trace)

Since the Go SDK tries to read the source files from your local disk, it's possible that you’re compiling your binary and deploying it in a manner that makes the source code inaccessible.

This is common in Go because you can compile the binary, and then have no more need for the source code. Without access to the source code, however, we can’t map anything back, and we don’t support uploading Go source code with a release to stitch this data on.

You can see [in the Serverless section](https://docs.sentry.io/platforms/go/serverless.md#source-context) how to bundle the source code with the binary, which applies to other forms of deployment as well.

## [Avoiding Temporary File Leaks In File Upload Handlers](https://docs.sentry.io/platforms/go/guides/fiber/troubleshooting.md#avoiding-temporary-file-leaks-in-file-upload-handlers)

Sentry's Go SDK middleware has to modify the request context in order to function correctly. This results in a shallow copy of the request being passed to upstream handlers. This means that temporary files created from calling `ParseMultipartForm` on this request won't automatically be cleaned up. It's important to clean these files up by calling `request.Multipart.RemoveAll()` after.

See the [multipart documentation](https://pkg.go.dev/mime/multipart#Form.RemoveAll) for more information.
