Merge pull request 'add debug log' (#49) from no-text-input-for-wifi-password into dev

Reviewed-on: https://codeberg.org/RhemaWave-Technologies/RhemaWave/pulls/49
This commit is contained in:
NeilClack
2026-06-27 19:33:11 +02:00
2 changed files with 3 additions and 2 deletions
+2 -2
View File
@@ -67,7 +67,7 @@ func DownloadAudioFiles(progressChan chan<- DownloadStatus, filenames []string,
totalDownloaded := int64(0)
for _, filename := range filenames {
logger.Info("Downloading %s", filename)
logger.Debug("Downloading %s", filename)
destPath := filepath.Join(destDir, filename)
// Check if the file already exists
url := urlBase + filename
@@ -95,7 +95,7 @@ func DownloadAudioFiles(progressChan chan<- DownloadStatus, filenames []string,
if !os.IsNotExist(err) {
logger.Warning("%s corrupt. Adding to download queue.", filename)
} else {
logger.Info("%s not found. Adding to download queue.", filename)
logger.Debug("%s not found. Adding to download queue.", filename)
}
// Append it to the list to download
+1
View File
@@ -400,6 +400,7 @@ func (p *AudioOptions) updateCursorPosition() {
func (p *AudioOptions) ToggleAudio() {
config, err := db.GetConfig(p.Context.DbPtr)
if err != nil {
logger.Error("panic! Cannot query database for configuration")
panic(err)
}
config.AudioEnabled = !config.AudioEnabled