Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -114,9 +114,10 @@ private static boolean isLargeSpectrumLibrary(Path libPath)
}
catch (IOException e)
{
// If we cannot stat the file it is missing or unreadable, in which case the
// downstream library read will fail too.
LOG.warn("Could not determine size of spectrum library file " + libPath, e);
// The file is missing or unreadable; the downstream library read would fail too.
// Log a single WARN line and keep the stack trace at DEBUG so frequent hits do not flood the primary log.
LOG.warn("Could not determine size of spectrum library file " + libPath + " (" + e.getClass().getSimpleName() + ")");
LOG.debug("Could not determine size of spectrum library file " + libPath, e);
return false;
}
}
Expand Down
Loading