minor fixes, change help text

This commit is contained in:
Mukhtar Akere
2025-08-05 11:49:52 +01:00
parent 01615cb51e
commit fab3a7e4f7
3 changed files with 3 additions and 3 deletions

View File

@@ -270,8 +270,6 @@ func (c *Cache) Start(ctx context.Context) error {
if c.mounter != nil {
if err := c.mounter.Mount(ctx); err != nil {
c.logger.Error().Err(err).Msgf("Failed to mount %s", c.config.Name)
} else {
c.logger.Info().Msgf("Mounted %s at %s", c.config.Name, c.mounter.LocalPath)
}
} else {
c.logger.Warn().Msgf("Mounting is disabled for %s", c.config.Name)

View File

@@ -362,7 +362,7 @@
</label>
<input type="text" class="input input-bordered" name="rclone.mount_path" id="rclone.mount_path" placeholder="/mnt/decypharr">
<div class="label">
<span class="label-text-alt">Base directory where all providers will be mounted (e.g., /mnt/decypharr/realdebrid)</span>
<span class="label-text-alt">Base directory where all providers will be mounted (e.g., /mnt/decypharr)</span>
</div>
</div>

View File

@@ -471,6 +471,7 @@ func (h *Handler) handleGet(w http.ResponseWriter, r *http.Request) {
return
}
if streamErr.StatusCode > 0 {
h.logger.Trace().Err(err).Msgf("Error streaming %s", fi.Name())
http.Error(w, streamErr.Error(), streamErr.StatusCode)
return
} else {
@@ -480,6 +481,7 @@ func (h *Handler) handleGet(w http.ResponseWriter, r *http.Request) {
}
} else {
// Generic error
h.logger.Error().Err(err).Msgf("Error streaming file %s", fi.Name())
http.Error(w, "Internal Server Error", http.StatusInternalServerError)
return
}