We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent be3e6cc commit 554ff2bCopy full SHA for 554ff2b
src/plex.go
@@ -146,6 +146,7 @@ func getPlexLibraries(cfg Config) (Libraries, error) {
146
var libraries Libraries
147
err = parseResp(body, &libraries)
148
if err != nil {
149
+ debug.Debug(string(body))
150
log.Fatalf("getPlexLibraries(): %s", err.Error())
151
}
152
return libraries, nil
@@ -162,7 +163,7 @@ func (cfg *Config) getPlexLibrary() {
162
163
cfg.Plex.LibraryID = library.Key
164
165
-
166
+ debug.Debug(fmt.Sprintf("full libary output: %v", libraries))
167
log.Fatalf("no library named %s found, please check LIBRARY_NAME variable", cfg.Plex.LibraryName)
168
169
0 commit comments