Skip to content

Commit

Permalink
- disable warning for regular users
Browse files Browse the repository at this point in the history
  • Loading branch information
derreisende77 committed Nov 1, 2024
1 parent 39fd308 commit ee1fc95
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/main/java/mediathek/daten/DatenFilm.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package mediathek.daten;

import mediathek.config.Config;
import mediathek.daten.abo.DatenAbo;
import mediathek.javafx.bookmark.BookmarkData;
import mediathek.tool.FileSize;
Expand Down Expand Up @@ -189,7 +190,9 @@ public void setDatumLong(String datumLong) {
datum_long = Long.parseLong(datumLong);
}
catch (Exception e) {
logger.warn("Failed to parse datum long string: {}", datumLong);
if (Config.isDebugModeEnabled()) {
logger.warn("Failed to parse datum long string: {}", datumLong);
}
datum_long = 0;
}
dataMap.put(MapKeys.TEMP_DATUM_LONG, datum_long);
Expand Down

0 comments on commit ee1fc95

Please sign in to comment.